summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-devtools/automake/automake_1.16.1.bb8
1 files changed, 8 insertions, 0 deletions
diff --git a/meta/recipes-devtools/automake/automake_1.16.1.bb b/meta/recipes-devtools/automake/automake_1.16.1.bb
index 41008d3..fdfaba4 100644
--- a/meta/recipes-devtools/automake/automake_1.16.1.bb
+++ b/meta/recipes-devtools/automake/automake_1.16.1.bb
@@ -38,6 +38,14 @@ CACHED_CONFIGUREVARS += "ac_cv_path_PERL='${PERL}'"
do_install_append () {
install -d ${D}${datadir}
+
+ # Use /usr/bin/env nativeperl for the perl script.
+ for i in aclocal aclocal-${NAMEVER} automake automake-${NAMEVER}; do
+ if [ -f ${D}${bindir}/$i ]; then
+ sed -i -e 's|/usr/bin/env perl|/usr/bin/perl-native/perl|' \
+ ${D}${bindir}/$i
+ fi
+ done
}
BBCLASSEXTEND = "native nativesdk"
OpenPOWER on IntegriCloud