Skip to contentSkip to conversation

qemu: QEMU fix libtool usage

PATCH New Mark Hatle 1 participant 1 message Jul 12, 2013

lore
Share & tools
lore

Mark Hatle

author
#0 lore raw

PATCH 1/1 qemu: QEMU fix libtool usage

QEMU uses the environment variable LIBTOOL by default. We want to ensure we set it to the proper libtool version, instead of letting it default to the host system version.

This corrects target building, and ensures we're linking properly for native and nativesdk versions.

---
 meta/recipes-devtools/qemu/qemu.inc | 2 ++
 1 file changed, 2 insertions(+)
meta/recipes-devtools/qemu/qemu.inc +2 -0
index 7caef6e..d8afd37 100644
@@ -38,6 +38,8 @@ EXTRA_OECONF_class-nativesdk = "--target-list=${@get_qemu_target_list(d)} --disa
 				--disable-curl \
 				"
 
+export LIBTOOL="${HOST_SYS}-libtool"
+
 do_configure_prepend_class-native() {
 	# Undo the -lX11 added by linker-flags.patch, don't assume that host has libX11 installed
 	sed -i 's/-lX11//g' Makefile.target
Signature · 1 line
1.8.3