libcurl-7.72.0-openssl-1.1.1g-nghttp2-1.41.0
Release 7.72.0 Library and Headers
This release includes cURL+OpenSSL+Nghttp2 libraries and header files for MacOS, iOS and tvOS projects.
Versions
LIBCURL="7.72.0" # https://curl.haxx.se/download.html
OPENSSL="1.1.1g" # https://www.openssl.org/source/
NGHTTP2="1.41.0" # 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.72.0-openssl-1.1.1g-nghttp2-1.41.0
|
|____cacert.pem
|
|____framework
|
|____bin/
| |____openssl*
| |____curl*
|
|____include/
| |____openssl/
| |____curl/
|
|____lib
|____Catalyst
|____MacOS
|____iOS
|____iOS-fat
|____iOS-simulator
|____tvOS
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(); ... }