mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-21 05:57:05 +00:00
postgresql: Don't symlink to perl if it's disabled
Don't create a symlink to libperl.so if perl isn't in PACKAGECONFIG. Attempting to do so will fail if perl hasn't been built. Signed-off-by: George McCollister <george.mccollister@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
committed by
Martin Jansa
parent
49e6d6103e
commit
b2bf995c4e
@@ -141,6 +141,7 @@ do_configure() {
|
|||||||
-e "/^TCLSH/s:=.*:= ${bindir}/tclsh:g" \
|
-e "/^TCLSH/s:=.*:= ${bindir}/tclsh:g" \
|
||||||
${B}/src/Makefile.global
|
${B}/src/Makefile.global
|
||||||
|
|
||||||
|
if ${@bb.utils.contains('PACKAGECONFIG', 'perl', 'true', 'false', d)}; then
|
||||||
# workaround perl package's libperl.so problem
|
# workaround perl package's libperl.so problem
|
||||||
# we are using perlnative so this perl should have same version
|
# we are using perlnative so this perl should have same version
|
||||||
perl_version=`perl -v 2>/dev/null | \
|
perl_version=`perl -v 2>/dev/null | \
|
||||||
@@ -150,6 +151,7 @@ do_configure() {
|
|||||||
ln -sf ../../../libperl.so.5 \
|
ln -sf ../../../libperl.so.5 \
|
||||||
${STAGING_LIBDIR}/perl/$perl_version/CORE/libperl.so
|
${STAGING_LIBDIR}/perl/$perl_version/CORE/libperl.so
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
do_compile_append() {
|
do_compile_append() {
|
||||||
|
|||||||
Reference in New Issue
Block a user