add armv7 arch
This commit is contained in:
parent
da994eaa99
commit
afaae60d1c
1 changed files with 2 additions and 1 deletions
|
@ -43,11 +43,12 @@ TMP_DIR=/tmp/build_libcurl_$$
|
||||||
build_for_arch x86_64 x86_64-apple-darwin /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk ${TMP_DIR}/x86_64 || exit 2
|
build_for_arch x86_64 x86_64-apple-darwin /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk ${TMP_DIR}/x86_64 || exit 2
|
||||||
build_for_arch arm64 arm-apple-darwin /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk ${TMP_DIR}/arm64 || exit 3
|
build_for_arch arm64 arm-apple-darwin /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk ${TMP_DIR}/arm64 || exit 3
|
||||||
build_for_arch armv7s armv7s-apple-darwin /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk ${TMP_DIR}/armv7s || exit 4
|
build_for_arch armv7s armv7s-apple-darwin /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk ${TMP_DIR}/armv7s || exit 4
|
||||||
#build_for_arch armv7 armv7-apple-darwin /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk ${TMP_DIR}/armv7 || exit 5
|
build_for_arch armv7 armv7-apple-darwin /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk ${TMP_DIR}/armv7 || exit 5
|
||||||
|
|
||||||
mkdir -p ${TMP_DIR}/lib/
|
mkdir -p ${TMP_DIR}/lib/
|
||||||
${DEVROOT}/usr/bin/lipo \
|
${DEVROOT}/usr/bin/lipo \
|
||||||
-arch x86_64 ${TMP_DIR}/x86_64/lib/libcurl.a \
|
-arch x86_64 ${TMP_DIR}/x86_64/lib/libcurl.a \
|
||||||
|
-arch armv7 ${TMP_DIR}/armv7/lib/libcurl.a \
|
||||||
-arch armv7s ${TMP_DIR}/armv7s/lib/libcurl.a \
|
-arch armv7s ${TMP_DIR}/armv7s/lib/libcurl.a \
|
||||||
-arch arm64 ${TMP_DIR}/arm64/lib/libcurl.a \
|
-arch arm64 ${TMP_DIR}/arm64/lib/libcurl.a \
|
||||||
-output ${TMP_DIR}/lib/libcurl.a -create
|
-output ${TMP_DIR}/lib/libcurl.a -create
|
||||||
|
|
Loading…
Reference in a new issue