# curl version = 8.10.1
package = libcurl
headers = curl/curl.h
headerFilter = curl/*

# there is no libz by default installed on windows, so we need to include it statically
staticLibraries.mingw = libcurl.a libssl.a libcrypto.a libz.a
compilerOpts.mingw = -DCURL_STATICLIB

# there is no need to use openssl on macos, as curl is built using out-of-the-box security framework
staticLibraries.osx = libcurl.a
linkerOpts.osx = -framework Security -framework SystemConfiguration

staticLibraries.linux = libcurl.a libssl.a libcrypto.a
linkerOpts.linux = -lz
