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:
Randy Eckenrode 2024-09-29 14:12:55 -04:00
parent f1480a23ec
commit 1ebcfd5758
No known key found for this signature in database
GPG Key ID: 64C1CD4EC2A600D9

View File

@ -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
'';