summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <tpearson@raptorengineering.com>2019-04-16 01:17:48 -0500
committerTimothy Pearson <tpearson@raptorengineering.com>2019-04-16 04:14:54 -0500
commite9c53e1c3004d31e489824beebcff959de5b62dd (patch)
tree6c0b3907d196546cd43bf9486e789a8aaecd324f
parentedb21dfc65c56db5fe4d532aa3b9669b88f2635b (diff)
downloadast2050-yocto-poky-e9c53e1c3004d31e489824beebcff959de5b62dd.zip
ast2050-yocto-poky-e9c53e1c3004d31e489824beebcff959de5b62dd.tar.gz
Fix libtool-native FTBFS on Stretch due to Perl mismatch
-rw-r--r--meta/recipes-devtools/libtool/libtool-native_2.4.6.bb6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/recipes-devtools/libtool/libtool-native_2.4.6.bb b/meta/recipes-devtools/libtool/libtool-native_2.4.6.bb
index 4c5218a..6c9bb87 100644
--- a/meta/recipes-devtools/libtool/libtool-native_2.4.6.bb
+++ b/meta/recipes-devtools/libtool/libtool-native_2.4.6.bb
@@ -8,6 +8,12 @@ inherit native
EXTRA_OECONF = " --with-libtool-sysroot=${STAGING_DIR_NATIVE}"
+PERL = "${USRBINPATH}/perl"
+PERL_class-native = "${USRBINPATH}/env perl"
+PERL_class-nativesdk = "${USRBINPATH}/env perl"
+
+CACHED_CONFIGUREVARS += "ac_cv_path_PERL='${PERL}'"
+
do_configure_prepend () {
# Remove any existing libtool m4 since old stale versions would break
# any upgrade
OpenPOWER on IntegriCloud