diff --git a/mesonbuild/dependencies/misc.py b/mesonbuild/dependencies/misc.py index 562a341b0..81bcdcb25 100644 --- a/mesonbuild/dependencies/misc.py +++ b/mesonbuild/dependencies/misc.py @@ -815,6 +815,10 @@ BOOST_LIBS = [ 'boost_math_c99l', 'boost_mpi', 'boost_program_options', + 'boost_python', + 'boost_python3', + 'boost_numpy', + 'boost_numpy3', 'boost_random', 'boost_regex', 'boost_serialization', diff --git a/tools/boost_names.py b/tools/boost_names.py index f9f1f1170..d381162bd 100755 --- a/tools/boost_names.py +++ b/tools/boost_names.py @@ -129,6 +129,9 @@ def get_modules(init=extra): def get_modules_2(): modules = [] + # The python module uses an older build system format and is not easily parseable. + # We add the python module libraries manually. + modules.append(Module('python', 'Python', ['boost_python', 'boost_python3', 'boost_numpy', 'boost_numpy3'])) for (root, dirs, files) in os.walk(LIBS): for f in files: if f == "libraries.json":