apt: Fix building if perl has already been built
Avoid cmake picking up the cross-compiled perl.
This commit is contained in:
parent
f5603b0d5e
commit
3d07bebb2d
@ -5,6 +5,7 @@ TERMUX_PKG_VERSION=1.4.7
|
||||
TERMUX_PKG_SRCURL=http://ftp.debian.org/debian/pool/main/a/apt/apt_${TERMUX_PKG_VERSION}.tar.xz
|
||||
TERMUX_PKG_SHA256=ea2a2e8e08daf8ea11aeaa86928d943a42ce53989165a30cc828838d470b7719
|
||||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
||||
-DPERL_EXECUTABLE=`which perl`
|
||||
-DCMAKE_INSTALL_FULL_LOCALSTATEDIR=$TERMUX_PREFIX
|
||||
-DCOMMON_ARCH=$TERMUX_ARCH
|
||||
-DDPKG_DATADIR=$TERMUX_PREFIX/share/dpkg
|
||||
|
Loading…
Reference in New Issue
Block a user