aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2016-05-12 20:37:41 -0700
committerArmin Kuster <akuster808@gmail.com>2016-08-16 10:29:38 -0700
commit502695511417cf678555507afecaf1f7c1ddc06c (patch)
tree96ff4498553830ec7bda13bc85ddf78ad64544c9
parent9be607da8136ef87f8b5c531f1cd78b241255152 (diff)
downloadmeta-openembedded-502695511417cf678555507afecaf1f7c1ddc06c.tar.gz
rrdtool: only unset PERLHOSTLIB in do_configure
The do_compile requires it, otherwise it can't find the native module correctly when perl-native is mirrored from another build. Fixed: | Compilation failed in require. | BEGIN failed--compilation aborted. | Can't locate loadable object for module File::Glob in @INC Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> (cherry picked from commit daf619ec4cffab45f0137d02a770071643d10432) Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r--meta-oe/recipes-extended/rrdtool/rrdtool_1.5.4.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-oe/recipes-extended/rrdtool/rrdtool_1.5.4.bb b/meta-oe/recipes-extended/rrdtool/rrdtool_1.5.4.bb
index 216aafcee7..73a5d0e5b2 100644
--- a/meta-oe/recipes-extended/rrdtool/rrdtool_1.5.4.bb
+++ b/meta-oe/recipes-extended/rrdtool/rrdtool_1.5.4.bb
@@ -58,9 +58,9 @@ export STAGING_INCDIR
# emulate cpan_do_configure
EXTRA_OEMAKE = ' PERL5LIB="${PERL_ARCHLIB}" '
# Avoid do_configure error on some hosts
-export PERLHOSTLIB = ""
do_configure() {
+ unset PERLHOSTLIB
#fix the pkglib problem with newer automake
#perl
sed -i -e "s|-Wl,--rpath -Wl,\$rp||g" \