Merge branch 'master' of github.com:sinofool/build-libcurl-ios

This commit is contained in:
Bochun Bai 2014-03-29 12:15:44 -07:00
commit 6565c60f26

View file

@ -31,10 +31,11 @@ ${DEVROOT}/usr/bin/lipo \
-output ${TMP_DIR}/libcurl.a -create -output ${TMP_DIR}/libcurl.a -create
cp -r ${TMP_DIR}/armv7s/include ${TMP_DIR}/ cp -r ${TMP_DIR}/armv7s/include ${TMP_DIR}/
curl -O https://raw.githubusercontent.com/sinofool/build-curl-ios/master/patch-include.patch curl -O https://raw.githubusercontent.com/sinofool/build-libcurl-ios/master/patch-include.patch
patch ${TMP_DIR}/include/curl/curlbuild.h < patch-include.patch patch ${TMP_DIR}/include/curl/curlbuild.h < patch-include.patch
DIST_DIR=${HOME}/libcurl-ios-dist DIST_DIR=${HOME}/Desktop/libcurl-ios-dist
rm -rf ${DIST_DIR}
mkdir ${DIST_DIR} mkdir ${DIST_DIR}
cp -r ${TMP_DIR}/include ${TMP_DIR}/libcurl.a ${DIST_DIR} cp -r ${TMP_DIR}/include ${TMP_DIR}/libcurl.a ${DIST_DIR}