From 0f1a967503427406ac8bd16003176f49105d1848 Mon Sep 17 00:00:00 2001 From: "matthias.ringwald" Date: Tue, 2 Mar 2010 20:34:32 +0000 Subject: [PATCH] create universal on Mac - helps to build 32-bit iPhone Simulator apps on 64-bit machines --- configure.in | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/configure.in b/configure.in index be1e6c448..d640f3d5b 100644 --- a/configure.in +++ b/configure.in @@ -150,6 +150,12 @@ if test "x$target" = xiphone; then echo "USE_LDID: no" fi else + case "$host_os" in + darwin*) + # on Mac, create universal - helps to build 32-bit iPhone Simulator apps on 64-bit machines + LDFLAGS="$LDFLAGS -arch ppc -arch i386 -arch x86_64 -framework CoreFoundation" + ;; + esac USE_LDID="#" if test "x$UART_DEVICE" = xDEFAULT ; then UART_DEVICE=/dev/ttyS0