projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2af794
)
Cosmetic fixes to objcopy hack
author
Matthias Clasen
<mclasen@redhat.com>
Sat, 14 May 2022 11:53:47 +0000
(07:53 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Sat, 14 May 2022 11:53:47 +0000
(07:53 -0400)
Preserve the elf section name that we would get
without the objcopy hack. Minimizing the differences
gtk/meson.build
patch
|
blob
|
history
diff --git
a/gtk/meson.build
b/gtk/meson.build
index 3a8457ada7aa5c7ff7e13550f9efde23ac0df5f4..987835ff9dcb8d81ba660e195d3977299f3fdaa3 100644
(file)
--- a/
gtk/meson.build
+++ b/
gtk/meson.build
@@
-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@'])