cctools: only add libtool on native builds
libtool is not really needed and it interferes with updateAutotoolsGnuConfigScriptsHook. So remove it when cross-compiling, but leave it in native to preserve hashes.
This commit is contained in:
parent
010d2f4aa2
commit
6f8b2f3961
@ -30,7 +30,12 @@ let
|
|||||||
|
|
||||||
outputs = [ "out" "dev" ];
|
outputs = [ "out" "dev" ];
|
||||||
|
|
||||||
nativeBuildInputs = [ autoconf automake libtool autoreconfHook ];
|
nativeBuildInputs = [ autoconf automake ]
|
||||||
|
|
||||||
|
# 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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user