summaryrefslogtreecommitdiff
path: root/packages/perl/perl.inc
diff options
context:
space:
mode:
Diffstat (limited to 'packages/perl/perl.inc')
-rw-r--r--packages/perl/perl.inc4
1 files changed, 1 insertions, 3 deletions
diff --git a/packages/perl/perl.inc b/packages/perl/perl.inc
index a9a3d6b655..ad0562d3a4 100644
--- a/packages/perl/perl.inc
+++ b/packages/perl/perl.inc
@@ -46,9 +46,7 @@ do_compile() {
do_install() {
oe_runmake install
- # Make sure the shared library is configured before trying to move it
- grep -q "useshrplib='false'" ${S}/config.sh ||
- mv ${D}/${libdir}/perl5/${PV}/${TARGET_ARCH}-${TARGET_OS}/CORE/libperl.so ${D}/${libdir}/libperl.so.${PV}
+ mv ${D}/${libdir}/perl5/${PV}/${TARGET_ARCH}-${TARGET_OS}/CORE/libperl.so ${D}/${libdir}/libperl.so.${PV}
( cd ${D}/usr/bin/; rm perl; ln -s perl${PV} perl )
}