perl: force-enable DT_RUNPATH

This commit is contained in:
Leonid Pliushch 2019-03-24 21:27:53 +02:00
parent 16ed7ddc9a
commit 1b7c4a5f80

View File

@ -3,6 +3,7 @@ TERMUX_PKG_DESCRIPTION="Capable, feature-rich programming language"
TERMUX_PKG_LICENSE="Artistic-License-2.0"
TERMUX_PKG_VERSION=(5.28.1
1.2.1)
TERMUX_PKG_REVISION=1
TERMUX_PKG_SHA256=(3ebf85fe65df2ee165b22596540b7d5d42f84d4b72d84834f74e2e0b8956c347
8b706bc688ddf71b62d649bde72f648669f18b37fe0c54ec6201142ca3943498)
TERMUX_PKG_SRCURL=(http://www.cpan.org/src/5.0/perl-${TERMUX_PKG_VERSION}.tar.gz
@ -50,7 +51,7 @@ termux_step_configure() {
-Dsysroot=$TERMUX_STANDALONE_TOOLCHAIN/sysroot \
-Dprefix=$TERMUX_PREFIX \
-Dsh=$TERMUX_PREFIX/bin/sh \
-Dcc=$ORIG_CC \
-Dcc="$ORIG_CC -Wl,-rpath=$TERMUX_PREFIX/lib -Wl,--enable-new-dtags" \
-Duseshrplib
}