curl: fixup build on darwin after update
> checking for connect in libraries... cannot find connect > configure: error: cannot find connect function in libraries.
This commit is contained in:
@@ -26,6 +26,8 @@
|
||||
, zlibSupport ? true, zlib
|
||||
, zstdSupport ? false, zstd
|
||||
|
||||
, darwin
|
||||
|
||||
# for passthru.tests
|
||||
, coeurl
|
||||
, curlpp
|
||||
@@ -70,6 +72,10 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
nativeBuildInputs = [ pkg-config perl ];
|
||||
|
||||
buildInputs = lib.optionals stdenv.isDarwin [
|
||||
darwin.apple_sdk.frameworks.CoreServices
|
||||
];
|
||||
|
||||
# Zlib and OpenSSL must be propagated because `libcurl.la' contains
|
||||
# "-lz -lssl", which aren't necessary direct build inputs of
|
||||
# applications that use Curl.
|
||||
|
||||
Reference in New Issue
Block a user