mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
stdenv: automatically update config.sub for musl
This commit is contained in:
parent
41435ee8a6
commit
5dcf3cdf37
@ -94,7 +94,7 @@ rec {
|
||||
# without proper `file` command, libtool sometimes fails
|
||||
# to recognize 64-bit DLLs
|
||||
++ stdenv.lib.optional (hostPlatform.config == "x86_64-w64-mingw32") pkgs.file
|
||||
++ stdenv.lib.optional hostPlatform.isAarch64 pkgs.updateAutotoolsGnuConfigScriptsHook
|
||||
++ stdenv.lib.optional (hostPlatform.isAarch64 || hostPlatform.libc == "musl") pkgs.updateAutotoolsGnuConfigScriptsHook
|
||||
;
|
||||
|
||||
crossConfig = hostPlatform.config;
|
||||
|
Loading…
Reference in New Issue
Block a user