X-Git-Url: https://git.distorted.org.uk/~mdw/termux-packages/blobdiff_plain/9db621c0241f6e9826366fd2513666e47147caf5..95c8f610d57a9d91914abe33f245f1ebdc47476d:/build-package.sh diff --git a/build-package.sh b/build-package.sh index c2fc6a32..7592de09 100755 --- a/build-package.sh +++ b/build-package.sh @@ -564,7 +564,7 @@ else fi # Bump the below version if a change is made in toolchain setup, to ensure # that everyone gets an updated toolchain: -TERMUX_STANDALONE_TOOLCHAIN+="-v1" +TERMUX_STANDALONE_TOOLCHAIN+="-v2" # We put this after system PATH to avoid picking up toolchain stripped python export PATH=$PATH:$TERMUX_STANDALONE_TOOLCHAIN/bin @@ -696,31 +696,26 @@ if [ ! -f $TERMUX_PREFIX/lib/libstdc++.so ]; then ln -f -s libgnustl_shared.so libstdc++.so fi -if [ ! -f $PKG_CONFIG ]; then - echo "Creating pkg-config wrapper..." - # We use path to host pkg-config to avoid picking up a cross-compiled pkg-config later on - _HOST_PKGCONFIG=`which pkg-config` - mkdir -p $TERMUX_STANDALONE_TOOLCHAIN/bin $PKG_CONFIG_LIBDIR - cat > $PKG_CONFIG < $PKG_CONFIG < $PKG_CONFIG_LIBDIR/zlib.pc < $PKG_CONFIG_LIBDIR/zlib.pc <