cctools: fixup gnu-config detection

This commit is contained in:
Matthew Bauer 2019-11-26 16:41:18 -05:00
parent 6f8b2f3961
commit 8b41b16a9f

View File

@ -30,12 +30,7 @@ let
outputs = [ "out" "dev" ]; outputs = [ "out" "dev" ];
nativeBuildInputs = [ autoconf automake ] nativeBuildInputs = [ autoconf automake libtool autoreconfHook ];
# TODO: remove on next hash change, libtool is unnecessary with autoreconfHook
++ stdenv.lib.optional (stdenv.targetPlatform == stdenv.hostPlatform) libtool
++ [ autoreconfHook ];
buildInputs = [ libuuid ] buildInputs = [ libuuid ]
++ stdenv.lib.optionals stdenv.isDarwin [ libcxxabi libobjc ] ++ stdenv.lib.optionals stdenv.isDarwin [ libcxxabi libobjc ]
++ stdenv.lib.optional enableTapiSupport libtapi; ++ stdenv.lib.optional enableTapiSupport libtapi;