Cosmetic fixes to objcopy hack

Preserve the elf section name that we would get
without the objcopy hack. Minimizing the differences
This commit is contained in:
Matthias Clasen 2022-05-14 07:53:47 -04:00
parent a2af794cb0
commit 8bd77441a9

View File

@ -942,7 +942,8 @@ if not meson.is_cross_build() and build_machine.cpu_family() != 'arm' and build_
output : 'gtkresources_blob2.o',
command : [objcopy,
'--strip-all',
'--add-symbol','_gtk_resource_data=.data:0',
'--rename-section', '.data=.gresource.gtk',
'--add-symbol','_gtk_resource_data=.gresource.gtk:0',
'@INPUT@',
'@OUTPUT@'])