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

(From OE-Core rev: c04b3e0e371859c159b76bff87a5b1299b51d0c8)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Khem Raj
2022-09-08 14:09:20 -07:00
committed by Richard Purdie
parent 22a6ff07aa
commit c3f4b81954

View File

@@ -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