From 22dcb692adefea7d51e480e36a53446cc0777c01 Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Sun, 19 Jun 2022 00:51:54 -0400 Subject: 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. --- test cases/python/2 extmodule/ext/meson.build | 1 - test cases/python/2 extmodule/ext/nested/meson.build | 1 - test cases/python/2 extmodule/ext/wrongdir/meson.build | 1 - 3 files changed, 3 deletions(-) (limited to 'test cases/python/2 extmodule') diff --git a/test cases/python/2 extmodule/ext/meson.build b/test cases/python/2 extmodule/ext/meson.build index 799e9b08a..14fa94abf 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 38d3d3e28..34c119273 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 1355d4fd7..5074701ea 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') -- cgit v1.2.3