We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent afaf1c2 commit 8b292a1Copy full SHA for 8b292a1
1 file changed
pkgs/stdenv/adapters.nix
@@ -96,8 +96,12 @@ rec {
96
name = name + "-" + cross.config;
97
nativeBuildInputs = nativeBuildInputsDrvs
98
++ nativeInputsFromBuildInputs
99
- ++ [ gccCross binutilsCross ] ++
100
- stdenv.lib.optional selfNativeBuildInput nativeDrv;
+ ++ [ gccCross binutilsCross ]
+ ++ stdenv.lib.optional selfNativeBuildInput nativeDrv
101
+ # without proper `file` command, libtool sometimes fails
102
+ # to recognize 64-bit DLLs
103
+ ++ stdenv.lib.optional (cross.config == "x86_64-w64-mingw32") pkgs.file
104
+ ;
105
106
# Cross-linking dynamic libraries, every buildInput should
107
# be propagated because ld needs the -rpath-link to find
0 commit comments