1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-20 02:25:14 -07:00

Target iOS 7

This commit is contained in:
Frank Denis 2013-07-20 17:40:23 -07:00
parent b9c4147169
commit 93aaa0e1a9

View File

@ -1,9 +1,9 @@
#! /bin/sh #! /bin/sh
export XCODEDIR="/Applications/Xcode.app/Contents/Developer" export XCODEDIR="/Applications/Xcode5-DP.app/Contents/Developer"
export BASEDIR="${XCODEDIR}/Platforms/iPhoneOS.platform/Developer" export BASEDIR="${XCODEDIR}/Platforms/iPhoneOS.platform/Developer"
export PATH="${BASEDIR}/usr/bin:$BASEDIR/usr/sbin:$PATH" export PATH="${BASEDIR}/usr/bin:$BASEDIR/usr/sbin:$PATH"
export SDK="${BASEDIR}/SDKs/iPhoneOS6.1.sdk" export SDK="${BASEDIR}/SDKs/iPhoneOS7.0.sdk"
export CFLAGS="-Oz -mthumb -arch armv7 -isysroot ${SDK}" export CFLAGS="-Oz -mthumb -arch armv7 -isysroot ${SDK}"
export LDFLAGS="-mthumb -arch armv7 -isysroot ${SDK}" export LDFLAGS="-mthumb -arch armv7 -isysroot ${SDK}"
export PREFIX="$(pwd)/libsodium-ios" export PREFIX="$(pwd)/libsodium-ios"