Pass --host to compile for the iOS simulator

This commit is contained in:
Frank Denis 2016-09-15 16:18:27 +02:00
parent 68564326e1
commit 1766e13a0e

View File

@ -31,7 +31,8 @@ export LDFLAGS="-arch i386 -isysroot ${SDK} -mios-simulator-version-min=${IOS_SI
make distclean > /dev/null
./configure --disable-shared \
./configure --host=i686-apple-darwin10 \
--disable-shared \
--enable-minimal \
--prefix="$SIMULATOR32_PREFIX" || exit 1
@ -43,7 +44,8 @@ export LDFLAGS="-arch x86_64 -isysroot ${SDK} -mios-simulator-version-min=${IOS_
make distclean > /dev/null
./configure --disable-shared \
./configure --host=x86_64-apple-darwin10 \
--disable-shared \
--enable-minimal \
--prefix="$SIMULATOR64_PREFIX"