mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 17:03:01 +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
|
, fetchFromGitHub
|
||||||
, autoconf
|
, autoconf
|
||||||
, automake
|
, automake
|
||||||
|
, darwin
|
||||||
, libtool
|
, libtool
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, pkgsStatic
|
, pkgsStatic
|
||||||
@ -86,6 +87,8 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
|
|
||||||
nativeBuildInputs = [ automake autoconf libtool pkg-config ];
|
nativeBuildInputs = [ automake autoconf libtool pkg-config ];
|
||||||
|
|
||||||
|
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ darwin.libutil ];
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
LIBTOOLIZE=libtoolize ./autogen.sh
|
LIBTOOLIZE=libtoolize ./autogen.sh
|
||||||
'';
|
'';
|
||||||
|
Loading…
Reference in New Issue
Block a user