perl: hotfix for missing links in /usr/lib.

This commit is contained in:
Leah Neukirchen 2017-09-25 15:25:00 +02:00
parent 2799df882f
commit de980aec18
1 changed files with 5 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template build file for 'perl'.
pkgname=perl
version=5.26.1
revision=1
revision=2
_perl_cross_version=1.1.6
build_style=gnu-configure
hostmakedepends="less"
@ -208,4 +208,8 @@ post_install() {
# Remove references to hardening -specs.
sed -e "s|-specs=.*hardened-ld||g" -e "s|-specs=.*hardened-cc1||g" \
-i ${DESTDIR}/usr/lib/perl5/core_perl/Config_heavy.pl
# HOTFIX
ln -sfr ${DESTDIR}/usr/lib/perl5/core_perl/CORE/libperl.so.5.26 ${DESTDIR}/usr/lib/
ln -sfr ${DESTDIR}/usr/lib/perl5/core_perl/CORE/libperl.so.5.26 ${DESTDIR}/usr/lib/libperl.so
}