diff options
author | Ninja-Koala <mail@ninjakoa.la> | 2018-09-20 22:31:06 +0200 |
---|---|---|
committer | Ninja-Koala <mail@ninjakoa.la> | 2019-02-01 22:02:20 +0100 |
commit | 1f14a58d3b9b5781f79e7e7f3954beaf4f4b95e9 (patch) | |
tree | 907ecf94324bd416d6189c6e6eafea2e65db4aac /mesonbuild/modules/gnome.py | |
parent | a6f09b9754760ee7a36695b6252d80f254360c7a (diff) | |
download | meson-1f14a58d3b9b5781f79e7e7f3954beaf4f4b95e9.zip meson-1f14a58d3b9b5781f79e7e7f3954beaf4f4b95e9.tar.gz meson-1f14a58d3b9b5781f79e7e7f3954beaf4f4b95e9.tar.bz2 |
Add second dependency file for c target
Diffstat (limited to 'mesonbuild/modules/gnome.py')
-rw-r--r-- | mesonbuild/modules/gnome.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mesonbuild/modules/gnome.py b/mesonbuild/modules/gnome.py index c495c85..07dd614 100644 --- a/mesonbuild/modules/gnome.py +++ b/mesonbuild/modules/gnome.py @@ -230,7 +230,9 @@ class GnomeModule(ExtensionModule): else: depfile = kwargs['output'] + '.d' if gresource_ld_binary: - kwargs['command'] = copy.copy(cmd) + ['--external-data'] + depfile2 = kwargs['output'] + '.2.d' + kwargs['depfile'] = depfile2 + kwargs['command'] = copy.copy(cmd) + ['--external-data', '--dependency-file', '@DEPFILE@'] else: kwargs['depfile'] = depfile kwargs['command'] = copy.copy(cmd) + ['--dependency-file', '@DEPFILE@'] |