libcurl-7.66.0-openssl-1.1.1d-nghttp2-1.39.2
Release 7.66.0 Library and Headers
This release includes cURL+OpenSSL+Nghttp2 libraries and header files for MacOS, iOS and tvOS projects.
Versions
LIBCURL="7.66.0" # https://curl.haxx.se/download.html
OPENSSL="1.1.1d" # https://www.openssl.org/source/
NGHTTP2="1.39.2" # https://nghttp2.org/
Archive
This directory contains the curl and openssl headers (in the include
folder), the various *.a libraries built along with a MacOS binary for curl
and openssl
.
|___libcurl-7.66.0-openssl-1.1.1d-nghttp2-1.39.2
|
|____cacert.pem
|
|____bin/
| |____openssl*
| |____curl*
|
|____lib/
| |____iOS/
| |____MacOS/
| |____tvOS/
|
|____include/
|____openssl/
|____curl/
Usage
-
Copy libs and headers to your project.
-
Import appropriate libraries: "libssl.a", "libcrypto.a", "libcurl.a", "libnghttp2.a".
-
Reference Headers.
-
Specifying the flag "-lz" in "Other Linker Flags" (OTHER_LDFLAGS) setting in the "Linking" section in the Build settings of the target.
-
Initialize curl in your code:
#include <curl/curl.h> - (void)foo { CURL* cURL = curl_easy_init(); ... }