From c97e7749a67d373fda57752fac955ec691886231 Mon Sep 17 00:00:00 2001 From: Niklas Claesson Date: Mon, 9 Oct 2017 14:55:54 +0200 Subject: Boost: Jamfile has two syntaxes for boost libraries Fixes #2456 --- tools/boost_names.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tools/boost_names.py') 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): -- cgit v1.1