From 35ef70353227e4dff60fc36437f08293be752b25 Mon Sep 17 00:00:00 2001 From: Jay Freeman Date: Wed, 9 Jan 2008 22:21:43 +0000 Subject: Factored out --enable-{static=no,shared=yes}, did some extreme porting on pkg-config and libtool, added support for numerous X libraries and a few X applications, and got a solid build of Python with a bunch of modules (compiled as a shared library with the right extensions ;P). git-svn-id: http://svn.telesphoreo.org/trunk@12 514c082c-b64e-11dc-b46d-3d985efe055d --- util/configure.sh | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 util/configure.sh (limited to 'util/configure.sh') 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 "$@" -- cgit v1.2.3