Add second dependency file for c target

pull/4222/head
Ninja-Koala 6 years ago
parent a6f09b9754
commit 1f14a58d3b
No known key found for this signature in database
GPG Key ID: 2813175705683A1D
  1. 4
      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@']

Loading…
Cancel
Save