mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 02:42:59 +00:00
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:
parent
667dcd799d
commit
c2cce178fa
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user