aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/modules/gnome.py
diff options
context:
space:
mode:
Diffstat (limited to 'mesonbuild/modules/gnome.py')
-rw-r--r--mesonbuild/modules/gnome.py4
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@']