root / trunk / util / configure.sh

Revision 218, 483 bytes (checked in by saurik, 7 months ago)

Fixed some dependencies, removed mDNS fix for 2.0, and factored for multi-arch support.

  • Property svn:executable set to *
Line 
1#!/bin/bash
2for ltmain in $(find -name ltmain.sh); do
3    patch -N "${ltmain}" "$(dirname "$0")/libtool.diff" || true
4done
5
6if [[ -z $PKG_CONF ]]; then
7    PKG_CONF=./configure
8fi
9
10PKG_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-darwin9 --enable-static=no --enable-shared=yes "$@"
Note: See TracBrowser for help on using the browser.