From 3d07bebb2d5a2c1150512297f46ac28089e021ec Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Sat, 26 Aug 2017 22:06:38 +0200 Subject: [PATCH] apt: Fix building if perl has already been built Avoid cmake picking up the cross-compiled perl. --- disabled-packages/apt/build.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/disabled-packages/apt/build.sh b/disabled-packages/apt/build.sh index e45b104c6..47685b55a 100644 --- a/disabled-packages/apt/build.sh +++ b/disabled-packages/apt/build.sh @@ -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