autotools.bbclass: Use --with-libtool-sysroot instead of --with-sysroot
authorKhem Raj <raj.khem@gmail.com>
Thu, 21 Oct 2010 23:22:52 +0000 (16:22 -0700)
committerKhem Raj <raj.khem@gmail.com>
Fri, 22 Oct 2010 15:11:16 +0000 (08:11 -0700)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Chris Larson <chris_larson@mentor.com>
Acked-by: Koen Kooi <k-kooi@ti.com>
classes/autotools.bbclass

index a634201..97bc47c 100644 (file)
@@ -76,7 +76,7 @@ CONFIGUREOPTS = " --build=${BUILD_SYS} \
                  --oldincludedir=${oldincludedir} \
                  --infodir=${infodir} \
                  --mandir=${mandir} \
-                 ${@["","--with-sysroot"][bb.data.getVar('LIBTOOL_HAS_SYSROOT', d, 1) == "yes"]} \
+                 ${@["","--with-libtool-sysroot"][bb.data.getVar('LIBTOOL_HAS_SYSROOT', d, 1) == "yes"]} \
                "
 
 oe_runconf () {