Skip to contentSkip to conversation

gobject-introspection: Do not hardcode objdump name

PATCH New Khem Raj 1 participant 1 message Sep 8, 2022

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 gobject-introspection: Do not hardcode objdump name

Use OBJDUMP variable in the script, this helps in using the lddwrapper with recipes which maybe using different objdump tools e.g.l llvm-objdump or vice-versa

---
 .../gobject-introspection/gobject-introspection_1.72.0.bb       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-gnome/gobject-introspection/gobject-introspection_1.72.0.bb +1 -1
index 9a47e908b7..d935cbd905 100644
@@ -103,7 +103,7 @@ EOF
         # for a different architecture
         cat > ${B}/g-ir-scanner-lddwrapper << EOF
 #!/bin/sh
-$OBJDUMP -p "\$@"
+\$OBJDUMP -p "\$@"
 EOF
         chmod +x ${B}/g-ir-scanner-lddwrapper
 
Signature · 1 line
2.37.3