pineapple-src/externals/vcpkg/ports/boost-build/0002-fix-get-version.patch

14 lines
479 B
Diff
Raw Normal View History

2022-07-23 01:01:36 +00:00
diff --git a/src/tools/clang-linux.jam b/src/tools/clang-linux.jam
index 949e277..8934787 100644
--- a/src/tools/clang-linux.jam
+++ b/src/tools/clang-linux.jam
@@ -97,7 +97,7 @@ rule init ( version ? : command * : options * ) {
rule get-full-version ( command-string )
{
- return [ common.match-command-output version : "version ([0-9.]+)"
+ return [ common.match-command-output version : "([0-9]+.[0-9]+.[0-9]+)"
: "$(command-string) --version" ] ;
}