From: Khem Raj Date: Sun, 24 Oct 2010 18:08:56 +0000 (-0700) Subject: autotools.bbclass: Use STAGING_DIR_HOST for libtool sysroot X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=669ac121adeacd1850f67ab4aa758036f4599135;p=openembedded.git autotools.bbclass: Use STAGING_DIR_HOST for libtool sysroot ${STAGING_DIR}/${MULTIMACH_HOST_SYS} will point to machine dir for machine specific recipes like shadow, where it should point to target sysroot, which is the correct location of sysroot. Signed-off-by: Khem Raj --- diff --git a/classes/autotools.bbclass b/classes/autotools.bbclass index 3d8bcb55e2..2c27d0fcd1 100644 --- a/classes/autotools.bbclass +++ b/classes/autotools.bbclass @@ -62,7 +62,7 @@ def append_libtool_sysroot(d): if bb.data.getVar('BUILD_SYS', d, 1) == bb.data.getVar('HOST_SYS', d, 1): return '--with-libtool-sysroot' else: - return '--with-libtool-sysroot=${STAGING_DIR}/${MULTIMACH_HOST_SYS}' + return '--with-libtool-sysroot=${STAGING_DIR_HOST}' return '' # EXTRA_OECONF_append = "${@autotools_set_crosscompiling(d)}"