aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/boost-build/0001-fix-get-version.patch
blob: 73be450dbcf248a33e6dc25473c681f4cb32e798 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/tools/clang-linux.jam b/src/tools/clang-linux.jam
index ce270c584..f93d1fa86 100644
--- a/src/tools/clang-linux.jam
+++ b/src/tools/clang-linux.jam
@@ -123,7 +123,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" ] ;
 }