summaryrefslogtreecommitdiff
path: root/util/configure.sh
blob: 1a7efc6b0739babe9bf3a7891098ec173f55cf55 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/bash
for ltmain in $(find -name ltmain.sh); do
    patch -N "${ltmain}" "$(dirname "$0")/libtool.diff" || true
done

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 "$@"