${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 <raj.khem@gmail.com>
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)}"