From 669ac121adeacd1850f67ab4aa758036f4599135 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sun, 24 Oct 2010 11:08:56 -0700 Subject: [PATCH] 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 --- classes/autotools.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)}" -- 2.39.5