aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-devtools/swig/swig.inc10
1 files changed, 2 insertions, 8 deletions
diff --git a/meta/recipes-devtools/swig/swig.inc b/meta/recipes-devtools/swig/swig.inc
index aec544997f9..f7de40866a9 100644
--- a/meta/recipes-devtools/swig/swig.inc
+++ b/meta/recipes-devtools/swig/swig.inc
@@ -38,15 +38,9 @@ EXTRA_OECONF = " \
--without-tcl \
"
-BBCLASSEXTEND = "native nativesdk"
+EXTRA_AUTORECONF += "-I Tools/config"
-do_configure() {
- install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.guess ${S}/Tools/config
- install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.sub ${S}/Tools/config
- install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.guess ${S}
- install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.sub ${S}
- oe_runconf
-}
+BBCLASSEXTEND = "native nativesdk"
do_install_append_class-nativesdk() {
cd ${D}${bindir}