mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
libuv: Use darwin.libutil on Darwin
The Darwin SDK used to provide `libutil.tbd`, but it has been replaced by `libutil.dylib` in the darwin.libutil package.
This commit is contained in:
parent
f1480a23ec
commit
1ebcfd5758
@ -3,6 +3,7 @@
|
||||
, fetchFromGitHub
|
||||
, autoconf
|
||||
, automake
|
||||
, darwin
|
||||
, libtool
|
||||
, pkg-config
|
||||
, pkgsStatic
|
||||
@ -86,6 +87,8 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
nativeBuildInputs = [ automake autoconf libtool pkg-config ];
|
||||
|
||||
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ darwin.libutil ];
|
||||
|
||||
preConfigure = ''
|
||||
LIBTOOLIZE=libtoolize ./autogen.sh
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user