summaryrefslogtreecommitdiffstats
path: root/meta
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 17:40:36 +0100
commit7ebe4ca0cf6709fb054129b18906580c30b7e0b4 (patch)
tree4d0e39611c46524bafe686608d7b3e3881682878 /meta
parent39c819b3309f062f3aafd2876fa01398acb19d62 (diff)
downloadpoky-7ebe4ca0cf6709fb054129b18906580c30b7e0b4.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. (From OE-Core rev: deb5d5ededfc404f4c54b18f3dcf8192e1c835e0) Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-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 \
7# We need gnugrep (for -I) 7# We need gnugrep (for -I)
8DEPENDS = "virtual/db grep-native" 8DEPENDS = "virtual/db grep-native"
9DEPENDS += "gdbm zlib" 9DEPENDS += "gdbm zlib"
10PR = "r7" 10PR = "r8"
11 11
12# 5.10.1 has Module::Build built-in 12# 5.10.1 has Module::Build built-in
13PROVIDES += "libmodule-build-perl" 13PROVIDES += "libmodule-build-perl"
@@ -200,6 +200,7 @@ do_install() {
200 # Fix up shared library 200 # Fix up shared library
201 mv ${D}/${libdir}/perl/${PV}/CORE/libperl.so ${D}/${libdir}/libperl.so.${PV} 201 mv ${D}/${libdir}/perl/${PV}/CORE/libperl.so ${D}/${libdir}/libperl.so.${PV}
202 ln -sf libperl.so.${PV} ${D}/${libdir}/libperl.so.5 202 ln -sf libperl.so.${PV} ${D}/${libdir}/libperl.so.5
203 ln -sf ../../../libperl.so.${PV} ${D}/${libdir}/perl/${PV}/CORE/libperl.so
203 204
204 # target config, used by cpan.bbclass to extract version information 205 # target config, used by cpan.bbclass to extract version information
205 install config.sh ${D}${libdir}/perl 206 install config.sh ${D}${libdir}/perl