aboutsummaryrefslogtreecommitdiff
path: root/test cases
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2022-06-19 00:51:54 -0400
committerJussi Pakkanen <jpakkane@gmail.com>2022-06-19 21:44:17 +0300
commit22dcb692adefea7d51e480e36a53446cc0777c01 (patch)
tree5282233fbdc4c870027469cdcee28dd6feac26c8 /test cases
parent43c60318fd28d23772cbc7a2b2e3152f6ec59e68 (diff)
downloadmeson-22dcb692adefea7d51e480e36a53446cc0777c01.zip
meson-22dcb692adefea7d51e480e36a53446cc0777c01.tar.gz
meson-22dcb692adefea7d51e480e36a53446cc0777c01.tar.bz2
python module: implicitly add python dep to extensions
If there isn't a preexisting dependency on python, append one. It's almost assuredly needed, so just do the right thing out of the box.
Diffstat (limited to 'test cases')
-rw-r--r--test cases/python/2 extmodule/ext/meson.build1
-rw-r--r--test cases/python/2 extmodule/ext/nested/meson.build1
-rw-r--r--test cases/python/2 extmodule/ext/wrongdir/meson.build1
3 files changed, 0 insertions, 3 deletions
diff --git a/test cases/python/2 extmodule/ext/meson.build b/test cases/python/2 extmodule/ext/meson.build
index 799e9b0..14fa94a 100644
--- a/test cases/python/2 extmodule/ext/meson.build
+++ b/test cases/python/2 extmodule/ext/meson.build
@@ -1,6 +1,5 @@
pylib = py.extension_module('tachyon',
'tachyon_module.c',
- dependencies : py_dep,
c_args: '-DMESON_MODULENAME="tachyon"',
install: true,
)
diff --git a/test cases/python/2 extmodule/ext/nested/meson.build b/test cases/python/2 extmodule/ext/nested/meson.build
index 38d3d3e..34c1192 100644
--- a/test cases/python/2 extmodule/ext/nested/meson.build
+++ b/test cases/python/2 extmodule/ext/nested/meson.build
@@ -1,6 +1,5 @@
py.extension_module('tachyon',
'../tachyon_module.c',
- dependencies : py_dep,
c_args: '-DMESON_MODULENAME="nested.tachyon"',
install: true,
subdir: 'nested'
diff --git a/test cases/python/2 extmodule/ext/wrongdir/meson.build b/test cases/python/2 extmodule/ext/wrongdir/meson.build
index 1355d4f..5074701 100644
--- a/test cases/python/2 extmodule/ext/wrongdir/meson.build
+++ b/test cases/python/2 extmodule/ext/wrongdir/meson.build
@@ -1,6 +1,5 @@
py.extension_module('tachyon',
'../tachyon_module.c',
- dependencies : py_dep,
c_args: '-DMESON_MODULENAME="tachyon"',
install: true,
install_dir: get_option('libdir')