mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-14 23:57:53 +00:00
lzlib: fix darwin build
This commit is contained in:
parent
4e9c9c0b7c
commit
6d7127b176
@ -12,6 +12,10 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "sha256-3ea9WzJTXxeyjJrCS2ZgfgJQUGrBQypBEso8c/XWYsM=";
|
||||
};
|
||||
|
||||
postPatch = lib.optionalString stdenv.isDarwin ''
|
||||
substituteInPlace Makefile.in --replace '-Wl,--soname=' '-Wl,-install_name,$(out)/lib/'
|
||||
'';
|
||||
|
||||
makeFlags = [ "CC:=$(CC)" ];
|
||||
doCheck = true;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user