mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-05 05:13:04 +00:00
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" ];
|
||||
|
||||
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 ]
|
||||
++ stdenv.lib.optionals stdenv.isDarwin [ libcxxabi libobjc ]
|
||||
++ stdenv.lib.optional enableTapiSupport libtapi;
|
||||
|
Loading…
Reference in New Issue
Block a user