aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mesonbuild/dependencies/misc.py1
-rwxr-xr-xtools/boost_names.py4
2 files changed, 5 insertions, 0 deletions
diff --git a/mesonbuild/dependencies/misc.py b/mesonbuild/dependencies/misc.py
index e00897d..562a341 100644
--- a/mesonbuild/dependencies/misc.py
+++ b/mesonbuild/dependencies/misc.py
@@ -814,6 +814,7 @@ BOOST_LIBS = [
'boost_math_c99f',
'boost_math_c99l',
'boost_mpi',
+ 'boost_program_options',
'boost_random',
'boost_regex',
'boost_serialization',
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):