From 14e7b0af25c90ed78b9309fd122d34b24d69fc0e Mon Sep 17 00:00:00 2001 From: Niklas Claesson Date: Sat, 21 Oct 2017 18:34:55 +0200 Subject: [PATCH] Boost: Add Python libraries Fixes: #2507 --- mesonbuild/dependencies/misc.py | 4 ++++ tools/boost_names.py | 3 +++ 2 files changed, 7 insertions(+) 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":