Browse Source

perl: Adopt to -linux folder names (was: -android)

The ndk r18 update caused this. We still need to find out if this is ok
or causes any issues.
android-5
Fredrik Fornwall 6 years ago
parent
commit
4548a0bf9a
  1. 6
      packages/perl/build.sh

6
packages/perl/build.sh

@ -62,11 +62,11 @@ termux_step_post_make_install () {
rm $TERMUX_PREFIX/bin/sh
cd $TERMUX_PREFIX/lib
ln -f -s perl5/${TERMUX_PKG_VERSION}/${TERMUX_ARCH}-android/CORE/libperl.so libperl.so
ln -f -s perl5/${TERMUX_PKG_VERSION}/${TERMUX_ARCH}-linux/CORE/libperl.so libperl.so
cd $TERMUX_PREFIX/include
ln -f -s ../lib/perl5/${TERMUX_PKG_VERSION}/${TERMUX_ARCH}-android/CORE perl
cd ../lib/perl5/${TERMUX_PKG_VERSION}/${TERMUX_ARCH}-android/
ln -f -s ../lib/perl5/${TERMUX_PKG_VERSION}/${TERMUX_ARCH}-linux/CORE perl
cd ../lib/perl5/${TERMUX_PKG_VERSION}/${TERMUX_ARCH}-linux/
chmod +w Config_heavy.pl
sed 's',"--sysroot=$TERMUX_STANDALONE_TOOLCHAIN"/sysroot,"-I/data/data/com.termux/files/usr/include",'g' Config_heavy.pl > Config_heavy.pl.new
sed 's',"$TERMUX_STANDALONE_TOOLCHAIN"/sysroot,"-I/data/data/com.termux/files",'g' Config_heavy.pl.new > Config_heavy.pl

Loading…
Cancel
Save