mirror of
https://github.com/jedisct1/libsodium.git
synced 2024-12-24 12:36:01 -07:00
11 lines
404 B
Bash
Executable File
11 lines
404 B
Bash
Executable File
#! /bin/sh
|
|
|
|
export XCODEDIR="/Applications/Xcode.app/Contents/Developer"
|
|
export BASEDIR="${XCODEDIR}/Platforms/iPhoneOS.platform/Developer"
|
|
export PATH="${BASEDIR}/usr/bin:$BASEDIR/usr/sbin:$PATH"
|
|
export SDK="${BASEDIR}/SDKs/iPhoneOS6.1.sdk"
|
|
export CFLAGS="-Oz -mthumb -arch armv7 -isysroot ${SDK}"
|
|
export LDFLAGS="-mthumb -arch armv7 -isysroot ${SDK}"
|
|
|
|
./configure --host=arm-apple-darwin10 && make -j3
|