Merge pull request #174551 from prusnak/curl-gnutls-darwin
curl: fix curl-gnutls build on darwin
This commit is contained in:
commit
6ed33abaff
1 changed files with 3 additions and 3 deletions
|
@ -171,9 +171,9 @@ stdenv.mkDerivation rec {
|
||||||
'' + lib.optionalString scpSupport ''
|
'' + lib.optionalString scpSupport ''
|
||||||
sed '/^dependency_libs/s|${lib.getDev libssh2}|${lib.getLib libssh2}|' -i "$out"/lib/*.la
|
sed '/^dependency_libs/s|${lib.getDev libssh2}|${lib.getLib libssh2}|' -i "$out"/lib/*.la
|
||||||
'' + lib.optionalString gnutlsSupport ''
|
'' + lib.optionalString gnutlsSupport ''
|
||||||
ln $out/lib/libcurl.so $out/lib/libcurl-gnutls.so
|
ln $out/lib/libcurl${stdenv.hostPlatform.extensions.sharedLibrary} $out/lib/libcurl-gnutls${stdenv.hostPlatform.extensions.sharedLibrary}
|
||||||
ln $out/lib/libcurl.so $out/lib/libcurl-gnutls.so.4
|
ln $out/lib/libcurl${stdenv.hostPlatform.extensions.sharedLibrary} $out/lib/libcurl-gnutls${stdenv.hostPlatform.extensions.sharedLibrary}.4
|
||||||
ln $out/lib/libcurl.so $out/lib/libcurl-gnutls.so.4.4.0
|
ln $out/lib/libcurl${stdenv.hostPlatform.extensions.sharedLibrary} $out/lib/libcurl-gnutls${stdenv.hostPlatform.extensions.sharedLibrary}.4.4.0
|
||||||
'';
|
'';
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
|
|
Loading…
Reference in a new issue