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