summaryrefslogtreecommitdiffstats
path: root/classes/autotools.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'classes/autotools.bbclass')
-rw-r--r--classes/autotools.bbclass5
1 files changed, 3 insertions, 2 deletions
diff --git a/classes/autotools.bbclass b/classes/autotools.bbclass
index ce4f66a498..a634201fe1 100644
--- a/classes/autotools.bbclass
+++ b/classes/autotools.bbclass
@@ -75,12 +75,13 @@ CONFIGUREOPTS = " --build=${BUILD_SYS} \
--includedir=${includedir} \
--oldincludedir=${oldincludedir} \
--infodir=${infodir} \
- --mandir=${mandir}"
+ --mandir=${mandir} \
+ ${@["","--with-sysroot"][bb.data.getVar('LIBTOOL_HAS_SYSROOT', d, 1) == "yes"]} \
+ "
oe_runconf () {
if [ -x ${S}/configure ] ; then
${S}/configure \
- ${@["","--with-sysroot"][bb.data.getVar('LIBTOOL_HAS_SYSROOT', d, 1) == "yes"]} \
${CONFIGUREOPTS} ${EXTRA_OECONF} "$@"
else
oefatal "no configure script found"