From 63398759893d46b2c755af9e8bb18d1424afd1e5 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 30 Sep 2021 23:45:33 -0400 Subject: [PATCH] Fix an oversight --- gtk/meson.build | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/gtk/meson.build b/gtk/meson.build index 8907c1c6dd..5aeaca6d3b 100644 --- a/gtk/meson.build +++ b/gtk/meson.build @@ -901,6 +901,20 @@ if build_machine.system() == 'linux' and objcopy.found() and objcopy_supports_ad '--manual-register', '@INPUT@']) + gtk_resources_h = custom_target('gtk_resources.h', + input : gtk_gresources_xml, + depends : theme_deps, + output : 'gtk_resources.h', + command : [glib_compile_resources, + '--target=@OUTPUT@', + '--sourcedir=' + meson.current_source_dir(), + '--sourcedir=' + meson.current_build_dir(), + '--generate-header', + '--external-data', + '--c-name', '_gtk', + '--manual-register', + '@INPUT@']) + # Create object file containing resource data gtk_resources_binary = custom_target('gtk_resources.o', input : gtk_gresource, @@ -922,6 +936,7 @@ if build_machine.system() == 'linux' and objcopy.found() and objcopy_supports_ad gtkresources = [ gtk_resources_c, + gtk_resources_h, gtk_resources_o, ] else