mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
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>
This commit is contained in:
parent
5ad18c413b
commit
daf619ec4c
|
|
@ -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" \
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user