Browse Source

ldc: Build with -DPYTHON_EXECUTABLE=`which python`

This avoids a cross-compiled python binary from being picked up.
android-5
Fredrik Fornwall 7 years ago
parent
commit
8f8c71d7c6
  1. 4
      packages/ldc/build.sh

4
packages/ldc/build.sh

@ -13,7 +13,9 @@ TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
-DLLVM_ENABLE_PIC=ON -DLLVM_ENABLE_PIC=ON
-DLLVM_BUILD_TOOLS=OFF -DLLVM_BUILD_TOOLS=OFF
-DLLVM_BUILD_UTILS=OFF -DLLVM_BUILD_UTILS=OFF
-DLLVM_TABLEGEN=$TERMUX_PKG_HOSTBUILD_DIR/bin/llvm-tblgen" -DLLVM_TABLEGEN=$TERMUX_PKG_HOSTBUILD_DIR/bin/llvm-tblgen
-DPYTHON_EXECUTABLE=`which python`
"
TERMUX_PKG_KEEP_STATIC_LIBRARIES=true TERMUX_PKG_KEEP_STATIC_LIBRARIES=true
TERMUX_PKG_NO_DEVELSPLIT=yes TERMUX_PKG_NO_DEVELSPLIT=yes
TERMUX_PKG_MAINTAINER="Joakim @joakim-noah" TERMUX_PKG_MAINTAINER="Joakim @joakim-noah"

Loading…
Cancel
Save