aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild
diff options
context:
space:
mode:
authorTristan Partin <tristan@partin.io>2022-03-23 11:42:01 -0500
committerXavier Claessens <xclaesse@gmail.com>2022-03-23 15:44:01 -0400
commitc65abc568c48b37db2267bfb25322c850ba014a9 (patch)
tree772ce2afe41b968bec3e7798c37508e04ef016c6 /mesonbuild
parenteccdbfe3d1b0fb11f99f44f67f0f66731d52030a (diff)
downloadmeson-c65abc568c48b37db2267bfb25322c850ba014a9.zip
meson-c65abc568c48b37db2267bfb25322c850ba014a9.tar.gz
meson-c65abc568c48b37db2267bfb25322c850ba014a9.tar.bz2
Add support for cython_args
cython_args was previoously ignored by Meson.
Diffstat (limited to 'mesonbuild')
-rw-r--r--mesonbuild/backend/ninjabackend.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/mesonbuild/backend/ninjabackend.py b/mesonbuild/backend/ninjabackend.py
index e0fdc93..6f560fe 100644
--- a/mesonbuild/backend/ninjabackend.py
+++ b/mesonbuild/backend/ninjabackend.py
@@ -1615,6 +1615,7 @@ class NinjaBackend(backends.Backend):
args += cython.get_option_compile_args(opt_proxy)
args += self.build.get_global_args(cython, target.for_machine)
args += self.build.get_project_args(cython, target.subproject, target.for_machine)
+ args += target.get_extra_args('cython')
ext = opt_proxy[OptionKey('language', machine=target.for_machine, lang='cython')].value