Browse Source

perl: force-enable DT_RUNPATH

emacs-27
Leonid Plyushch 6 years ago
parent
commit
f8f15150f3
  1. 3
      packages/perl/build.sh

3
packages/perl/build.sh

@ -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
}

Loading…
Cancel
Save