From: Matthias Clasen Date: Fri, 1 Oct 2021 16:56:05 +0000 (-0400) Subject: Fix the build X-Git-Tag: archive/raspbian/4.6.5+ds-1+rpi1~1^2~19^2~5^2~271^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=e9828f1fcdaa7ad6101343d68ce5397a61db11bb;p=gtk4.git Fix the build I messed this up when I changed how we build resources. --- diff --git a/gtk/meson.build b/gtk/meson.build index 5aeaca6d3b..00b9f8a22b 100644 --- a/gtk/meson.build +++ b/gtk/meson.build @@ -887,10 +887,10 @@ if build_machine.system() == 'linux' and objcopy.found() and objcopy_supports_ad '@INPUT@']) # Create resource data file - gtk_resources_c = custom_target('gtk_resources.c', + gtk_resources_c = custom_target('gtkresources.c', input : gtk_gresources_xml, depends : theme_deps, - output : 'gtk_resources.c', + output : 'gtkresources.c', command : [glib_compile_resources, '--target=@OUTPUT@', '--sourcedir=' + meson.current_source_dir(), @@ -901,10 +901,10 @@ if build_machine.system() == 'linux' and objcopy.found() and objcopy_supports_ad '--manual-register', '@INPUT@']) - gtk_resources_h = custom_target('gtk_resources.h', + gtk_resources_h = custom_target('gtkresources.h', input : gtk_gresources_xml, depends : theme_deps, - output : 'gtk_resources.h', + output : 'gtkresources.h', command : [glib_compile_resources, '--target=@OUTPUT@', '--sourcedir=' + meson.current_source_dir(), @@ -916,9 +916,9 @@ if build_machine.system() == 'linux' and objcopy.found() and objcopy_supports_ad '@INPUT@']) # Create object file containing resource data - gtk_resources_binary = custom_target('gtk_resources.o', + gtk_resources_binary = custom_target('gtkresources_blob.o', input : gtk_gresource, - output : 'gtk_resources.o', + output : 'gtkresources_blob.o', command : [ld, '-r', '-b','binary', @@ -926,9 +926,9 @@ if build_machine.system() == 'linux' and objcopy.found() and objcopy_supports_ad '-o','@OUTPUT@']) # Rename symbol to match the one in the C file - gtk_resources_o = custom_target('gtk_resources2.o', + gtk_resources_o = custom_target('gtkresources_blob2.o', input : gtk_resources_binary, - output : 'gtk_resources2.o', + output : 'gtkresources_blob2.o', command : [objcopy, '--add-symbol','_gtk_resource_data=.data:0', '@INPUT@',