diff options
author | Ninja-Koala <mail@ninjakoa.la> | 2018-09-20 21:13:58 +0200 |
---|---|---|
committer | Ninja-Koala <mail@ninjakoa.la> | 2019-02-01 22:02:20 +0100 |
commit | a6f09b9754760ee7a36695b6252d80f254360c7a (patch) | |
tree | ef3e9d420838090f788655c1a33743948b2d1267 /mesonbuild/modules/gnome.py | |
parent | 27edd112e220e2483c69687cfc107bd250f3a257 (diff) | |
download | meson-a6f09b9754760ee7a36695b6252d80f254360c7a.zip meson-a6f09b9754760ee7a36695b6252d80f254360c7a.tar.gz meson-a6f09b9754760ee7a36695b6252d80f254360c7a.tar.bz2 |
Remove dependency file from c target
Diffstat (limited to 'mesonbuild/modules/gnome.py')
-rw-r--r-- | mesonbuild/modules/gnome.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mesonbuild/modules/gnome.py b/mesonbuild/modules/gnome.py index 50b077c..c495c85 100644 --- a/mesonbuild/modules/gnome.py +++ b/mesonbuild/modules/gnome.py @@ -220,7 +220,7 @@ class GnomeModule(ExtensionModule): # This will eventually go out of sync if dependencies are added kwargs['depend_files'] = depend_files if gresource_ld_binary: - kwargs['command'] = copy.copy(cmd) + ["--external-data"] + kwargs['command'] = copy.copy(cmd) + ['--external-data'] else: kwargs['command'] = cmd if gresource or gresource_ld_binary: @@ -229,10 +229,10 @@ class GnomeModule(ExtensionModule): g_kwargs['command'] = cmd else: depfile = kwargs['output'] + '.d' - kwargs['depfile'] = depfile if gresource_ld_binary: - kwargs['command'] = copy.copy(cmd) + ["--external-data", '--dependency-file', '@DEPFILE@'] + kwargs['command'] = copy.copy(cmd) + ['--external-data'] else: + kwargs['depfile'] = depfile kwargs['command'] = copy.copy(cmd) + ['--dependency-file', '@DEPFILE@'] if gresource or gresource_ld_binary: g_kwargs['depfile'] = depfile |