aboutsummaryrefslogtreecommitdiff
path: root/test cases
diff options
context:
space:
mode:
authorDaniel Mensinger <daniel@mensinger-ka.de>2019-12-13 20:33:23 +0100
committerJussi Pakkanen <jpakkane@gmail.com>2019-12-18 01:19:16 +0200
commitc4649704c8dc59f82826ddd41db2d1cc4f43af0b (patch)
treeb51b26e9271d4b00b219629d12c637bfc96a7d88 /test cases
parent3122bac28a1e047da28b0190b8a0610cc26028dc (diff)
downloadmeson-c4649704c8dc59f82826ddd41db2d1cc4f43af0b.zip
meson-c4649704c8dc59f82826ddd41db2d1cc4f43af0b.tar.gz
meson-c4649704c8dc59f82826ddd41db2d1cc4f43af0b.tar.bz2
python: add embed to the python dependency function
Diffstat (limited to 'test cases')
-rw-r--r--test cases/frameworks/1 boost/meson.build4
1 files changed, 2 insertions, 2 deletions
diff --git a/test cases/frameworks/1 boost/meson.build b/test cases/frameworks/1 boost/meson.build
index 4526c30..b528dca 100644
--- a/test cases/frameworks/1 boost/meson.build
+++ b/test cases/frameworks/1 boost/meson.build
@@ -30,8 +30,8 @@ extralibdep = dependency('boost', modules : ['thread', 'system', 'log_setup', 'l
pymod = import('python')
python2 = pymod.find_installation('python2', required: host_machine.system() == 'linux', disabler: true)
python3 = pymod.find_installation('python3', required: host_machine.system() == 'linux', disabler: true)
-python2dep = python2.dependency(required: host_machine.system() == 'linux', disabler: true)
-python3dep = python3.dependency(required: host_machine.system() == 'linux', disabler: true)
+python2dep = python2.dependency(required: host_machine.system() == 'linux', embed: true, disabler: true)
+python3dep = python3.dependency(required: host_machine.system() == 'linux', embed: true, disabler: true)
# compile python 2/3 modules only if we found a corresponding python version
if(python2dep.found() and host_machine.system() == 'linux')