summaryrefslogtreecommitdiff
path: root/util/configure.sh
diff options
context:
space:
mode:
authorJay Freeman <saurik@saurik.com>2008-02-14 14:32:59 +0000
committerJay Freeman <saurik@saurik.com>2008-02-14 14:32:59 +0000
commit6b964b69935fcc52a1c0a95695ca436e00b6690f (patch)
treea863dd50c7cc7fe19b9759360ed4d5b545f9ba0f /util/configure.sh
parent459c9779557e19437de4a02f6311c322989228b3 (diff)
Drastically reworked bootstrap package.
git-svn-id: http://svn.telesphoreo.org/trunk@88 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'util/configure.sh')
-rwxr-xr-xutil/configure.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/util/configure.sh b/util/configure.sh
index 0c1cfba6f..1a7efc6b0 100755
--- a/util/configure.sh
+++ b/util/configure.sh
@@ -3,4 +3,8 @@ for ltmain in $(find -name ltmain.sh); do
patch -N "${ltmain}" "$(dirname "$0")/libtool.diff" || true
done
-PKG_ROOT=/home/saurik/iphone/sysroot PKG_CONFIG="$(realpath ../../../util/pkg-config.sh) --define-variable=prefix=/home/saurik/iphone/sysroot/usr" PKG_CONFIG_PATH=/home/saurik/iphone/sysroot/usr/lib/pkgconfig ./configure --prefix=/usr --host=arm-apple-darwin --enable-static=no --enable-shared=yes "$@"
+if [[ -z $PKG_CONF ]]; then
+ PKG_CONF=./configure
+fi
+
+PKG_ROOT=/home/saurik/iphone/sysroot PKG_CONFIG="$(realpath ../../../util/pkg-config.sh) --define-variable=prefix=/home/saurik/iphone/sysroot/usr" PKG_CONFIG_PATH=/home/saurik/iphone/sysroot/usr/lib/pkgconfig $PKG_CONF --prefix=/usr --host=arm-apple-darwin --enable-static=no --enable-shared=yes "$@"