pineapple-src/externals/vcpkg/ports/boost-build/0002-fix-get-version.patch
2022-07-23 03:01:36 +02:00

13 lines
479 B
Diff
Executable file

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" ] ;
}