perl-native: Ensure the wrapper appends to any existing PERL5LIB

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie
2011-01-17 15:15:13 +00:00
parent d38ad32718
commit a7fa6dbb91

View File

@@ -5,7 +5,7 @@ LICENSE = "Artistic|GPL"
LIC_FILES_CHKSUM = "file://Copying;md5=2b4c6ffbcfcbdee469f02565f253d81a \
file://Artistic;md5=f921793d03cc6d63ec4b15e9be8fd3f8"
DEPENDS = "virtual/db-native gdbm-native"
PR = "r1"
PR = "r2"
LIC_FILES_CHKSUM = "file://Copying;md5=2b4c6ffbcfcbdee469f02565f253d81a \
file://Artistic;md5=f921793d03cc6d63ec4b15e9be8fd3f8"
@@ -89,7 +89,7 @@ do_install () {
install $i ${D}${libdir}/perl/${PV}/CORE
done
create_wrapper ${D}${bindir}/perl PERL5LIB=${STAGING_LIBDIR}/perl/5.12.2:${STAGING_LIBDIR}/perl/
create_wrapper ${D}${bindir}/perl PERL5LIB='$PERL5LIB:${STAGING_LIBDIR}/perl/5.12.2:${STAGING_LIBDIR}/perl/'
}
do_install_append_nylon() {
# get rid of definitions not supported by the gcc version we use for nylon...