From 204bde80a4b28ee5d1bca7924949a8099a1e823f Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Thu, 22 Sep 2016 14:37:03 -0400 Subject: [PATCH] build-package.sh: Avoid mess in zlib.pc --- build-package.sh | 23 +++++++++-------------- 1 file changed, 9 insertions(+), 14 deletions(-) diff --git a/build-package.sh b/build-package.sh index c2fc6a328..48c323a4a 100755 --- a/build-package.sh +++ b/build-package.sh @@ -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 <