]> code.ossystems Code Review - openembedded-core.git/commitdiff
qemu: QEMU fix libtool usage
authorMark Hatle <mark.hatle@windriver.com>
Fri, 12 Jul 2013 01:00:04 +0000 (20:00 -0500)
committerSaul Wold <sgw@linux.intel.com>
Fri, 12 Jul 2013 17:12:13 +0000 (10:12 -0700)
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.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/recipes-devtools/qemu/qemu.inc

index 2d4a345bee2ec36e51e37e0b18a792c60ebc9f03..77045dfe6849260e5070dbef5156db8e51253bd5 100644 (file)
@@ -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