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.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/mesonbuild/modules/gnome.py b/mesonbuild/modules/gnome.py
index 6d05b4e..af3073f 100644
--- a/mesonbuild/modules/gnome.py
+++ b/mesonbuild/modules/gnome.py
@@ -162,6 +162,9 @@ can not be used with the current version of glib-compiled-resources, due to
kwargs['depfile'] = depfile
kwargs['command'] = copy.copy(cmd) + ['--dependency-file', '@DEPFILE@']
target_c = build.CustomTarget(name, state.subdir, kwargs)
+ # Used in backend/ninjabackend.py:generate_vala_compile() to pass
+ # --gresources to valac when GResources are used in Vala targets
+ target_c.gresource_c_output = True
if gresource: # Only one target for .gresource files
return [target_c]