aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorNiklas Claesson <nicke.claesson@gmail.com>2017-10-09 14:55:54 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2017-10-12 21:45:23 +0300
commitc97e7749a67d373fda57752fac955ec691886231 (patch)
tree1787435c4a085cad1339ab1596983739787e8819 /tools
parent756e682f2a628395c610efe01813a2c6fabe3e7f (diff)
downloadmeson-c97e7749a67d373fda57752fac955ec691886231.zip
meson-c97e7749a67d373fda57752fac955ec691886231.tar.gz
meson-c97e7749a67d373fda57752fac955ec691886231.tar.bz2
Boost: Jamfile has two syntaxes for boost libraries
Fixes #2456
Diffstat (limited to 'tools')
-rwxr-xr-xtools/boost_names.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/boost_names.py b/tools/boost_names.py
index 9ac16bb..f9f1f11 100755
--- a/tools/boost_names.py
+++ b/tools/boost_names.py
@@ -99,6 +99,10 @@ def get_library_names(jamfile):
for matches in res:
if ':' in matches.group(2):
libs.append(matches.group(1))
+ res = re.finditer(r'^boost-lib[\s]+([A-Za-z0-9_]+)([^;]*);', jam, re.MULTILINE | re.DOTALL)
+ for matches in res:
+ if ':' in matches.group(2):
+ libs.append('boost_{}'.format(matches.group(1)))
return libs
def exists(modules, module):