aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiklas Claesson <nicke.claesson@gmail.com>2017-10-21 18:34:55 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2017-10-25 21:08:54 +0300
commit14e7b0af25c90ed78b9309fd122d34b24d69fc0e (patch)
treedd26a3e02e868100dac433442893449db0dc44a6
parent004cc1493b52e33d7fdf32f468446e946cb84784 (diff)
downloadmeson-14e7b0af25c90ed78b9309fd122d34b24d69fc0e.zip
meson-14e7b0af25c90ed78b9309fd122d34b24d69fc0e.tar.gz
meson-14e7b0af25c90ed78b9309fd122d34b24d69fc0e.tar.bz2
Boost: Add Python libraries
Fixes: #2507
-rw-r--r--mesonbuild/dependencies/misc.py4
-rwxr-xr-xtools/boost_names.py3
2 files changed, 7 insertions, 0 deletions
diff --git a/mesonbuild/dependencies/misc.py b/mesonbuild/dependencies/misc.py
index 562a341..81bcdcb 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 f9f1f11..d381162 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":