libevent: fix install_name on darwin

This commit is contained in:
Dmitry Kalinkin 2018-04-05 17:48:57 -04:00
parent c639649ef0
commit 3868973c41
No known key found for this signature in database
GPG Key ID: 5157B3EC8B2CA333
1 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, findutils
{ stdenv, fetchurl, findutils, fixDarwinDylibNames
, sslSupport? true, openssl
}:
@ -26,6 +26,7 @@ stdenv.mkDerivation rec {
buildInputs = []
++ stdenv.lib.optional sslSupport openssl
++ stdenv.lib.optional stdenv.isCygwin findutils
++ stdenv.lib.optional stdenv.isDarwin fixDarwinDylibNames
;
postInstall = stdenv.lib.optionalString sslSupport ''