summaryrefslogtreecommitdiff
path: root/util/configure.sh
diff options
context:
space:
mode:
Diffstat (limited to 'util/configure.sh')
-rwxr-xr-xutil/configure.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/util/configure.sh b/util/configure.sh
new file mode 100755
index 000000000..0c1cfba6f
--- /dev/null
+++ b/util/configure.sh
@@ -0,0 +1,6 @@
+#!/bin/bash
+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 "$@"