mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-22 14:45:27 +00:00
zstd: Fix install name on macOS
It had an install name '/usr/local/lib/libzstd.1.dylib'.
This commit is contained in:
parent
47bbd819c7
commit
7e44f19fce
|
@ -1,4 +1,5 @@
|
|||
{ stdenv, fetchFromGitHub, gnugrep
|
||||
, fixDarwinDylibNames
|
||||
, legacySupport ? false }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
@ -12,6 +13,8 @@ stdenv.mkDerivation rec {
|
|||
owner = "facebook";
|
||||
};
|
||||
|
||||
buildInputs = stdenv.lib.optional stdenv.isDarwin fixDarwinDylibNames;
|
||||
|
||||
makeFlags = [
|
||||
"ZSTD_LEGACY_SUPPORT=${if legacySupport then "1" else "0"}"
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue