Skip to content

Instantly share code, notes, and snippets.

View junaid1460's full-sized avatar
🙃
I may be slow to respond.

J junaid1460

🙃
I may be slow to respond.
View GitHub Profile
@winster
winster / build_libcurl_ios.sh
Created February 1, 2017 11:53
Build libcurl library for all iOS architectures
#!/bin/bash
export DEVROOT=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain
DFT_DIST_DIR=${HOME}/Desktop/libcurl-ios-dist
DIST_DIR=${DIST_DIR:-$DFT_DIST_DIR}
function check_curl_ver() {
echo "#include \"include/curl/curlver.h\"
#if LIBCURL_VERSION_MAJOR < 7 || LIBCURL_VERSION_MINOR < 40
#error Required curl 7.40.0+; See http://curl.haxx.se/docs/adv_20150108A.html