aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThibault Saunier <thibault.saunier@osg.samsung.com>2017-08-24 17:52:07 -0300
committerThibault Saunier <thibault.saunier@osg.samsung.com>2017-08-24 20:48:13 -0300
commit0968991394ef5432e1335dca1f83ec55665f1b40 (patch)
tree624ceb9e5d3ef73e2977e287b9d6de440c9a9c67
parent52b7f1a0960081521da0178e82ee83a5e4f5e803 (diff)
downloadmeson-0968991394ef5432e1335dca1f83ec55665f1b40.zip
meson-0968991394ef5432e1335dca1f83ec55665f1b40.tar.gz
meson-0968991394ef5432e1335dca1f83ec55665f1b40.tar.bz2
csharp: Take into account project and global args
-rw-r--r--mesonbuild/backend/ninjabackend.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/mesonbuild/backend/ninjabackend.py b/mesonbuild/backend/ninjabackend.py
index e819ab2..dce3b80 100644
--- a/mesonbuild/backend/ninjabackend.py
+++ b/mesonbuild/backend/ninjabackend.py
@@ -996,6 +996,8 @@ int dummy;
for dep in target.get_external_deps():
commands.extend_direct(dep.get_link_args())
+ commands += self.build.get_project_args(compiler, target.subproject)
+ commands += self.build.get_global_args(compiler)
elem = NinjaBuildElement(self.all_outputs, outputs, 'cs_COMPILER', rel_srcs)
elem.add_dep(deps)