lzlib: fix darwin build
This commit is contained in:
parent
4e9c9c0b7c
commit
6d7127b176
1 changed files with 4 additions and 0 deletions
|
@ -12,6 +12,10 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "sha256-3ea9WzJTXxeyjJrCS2ZgfgJQUGrBQypBEso8c/XWYsM=";
|
sha256 = "sha256-3ea9WzJTXxeyjJrCS2ZgfgJQUGrBQypBEso8c/XWYsM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
postPatch = lib.optionalString stdenv.isDarwin ''
|
||||||
|
substituteInPlace Makefile.in --replace '-Wl,--soname=' '-Wl,-install_name,$(out)/lib/'
|
||||||
|
'';
|
||||||
|
|
||||||
makeFlags = [ "CC:=$(CC)" ];
|
makeFlags = [ "CC:=$(CC)" ];
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue