Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] qemu: QEMU fix libtool usage
@ 2013-07-12  1:00 Mark Hatle
  0 siblings, 0 replies; only message in thread
From: Mark Hatle @ 2013-07-12  1:00 UTC (permalink / raw)
  To: openembedded-core

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>
---
 meta/recipes-devtools/qemu/qemu.inc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-devtools/qemu/qemu.inc
index 7caef6e..d8afd37 100644
--- a/meta/recipes-devtools/qemu/qemu.inc
+++ b/meta/recipes-devtools/qemu/qemu.inc
@@ -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
-- 
1.8.3



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2013-07-12  0:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-12  1:00 [PATCH] qemu: QEMU fix libtool usage Mark Hatle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox