aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/perl
diff options
context:
space:
mode:
authorTom Zanussi <tom.zanussi@intel.com>2012-06-27 10:38:20 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-07-04 14:54:10 +0100
commitdeb5d5ededfc404f4c54b18f3dcf8192e1c835e0 (patch)
tree502b397f99b56da5bc96093e8eb3ef5b27eb6b42 /meta/recipes-devtools/perl
parentc04136393325967cbd491636b582d3e0f394de16 (diff)
downloadopenembedded-core-deb5d5ededfc404f4c54b18f3dcf8192e1c835e0.tar.gz
perl: keep original libperl location
Things like ExtTools expect to find libperl at the original (${libdir}/perl/${PV}/CORE/libperl.so) location, so keep it there but symlink to it for the original (?) reason. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Diffstat (limited to 'meta/recipes-devtools/perl')
-rw-r--r--meta/recipes-devtools/perl/perl_5.14.2.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-devtools/perl/perl_5.14.2.bb b/meta/recipes-devtools/perl/perl_5.14.2.bb
index 2452a4407e..a50fedb8d5 100644
--- a/meta/recipes-devtools/perl/perl_5.14.2.bb
+++ b/meta/recipes-devtools/perl/perl_5.14.2.bb
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://Copying;md5=2b4c6ffbcfcbdee469f02565f253d81a \
# We need gnugrep (for -I)
DEPENDS = "virtual/db grep-native"
DEPENDS += "gdbm zlib"
-PR = "r7"
+PR = "r8"
# 5.10.1 has Module::Build built-in
PROVIDES += "libmodule-build-perl"
@@ -200,6 +200,7 @@ do_install() {
# Fix up shared library
mv ${D}/${libdir}/perl/${PV}/CORE/libperl.so ${D}/${libdir}/libperl.so.${PV}
ln -sf libperl.so.${PV} ${D}/${libdir}/libperl.so.5
+ ln -sf ../../../libperl.so.${PV} ${D}/${libdir}/perl/${PV}/CORE/libperl.so
# target config, used by cpan.bbclass to extract version information
install config.sh ${D}${libdir}/perl