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.
This commit is contained in:
parent
5ba44cfa9d
commit
3cdea45b3a
@ -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…
Reference in New Issue
Block a user