summary refs log tree commit diff
path: root/pkgs/development/libraries/libxml2/default.nix
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2022-05-02 17:15:18 -0400
committerShea Levy <shea@shealevy.com>2022-05-06 10:54:52 -0400
commit504d38ae7ba872dbf3b9972d33c94912e56807ed (patch)
tree6249d93156f7640b5ddcd04c40fc74fde5a20217 /pkgs/development/libraries/libxml2/default.nix
parent4447d4071bc69e2e18aef96aa14fc0ec835fd5cd (diff)
cross: Allow Windows toolchains to use ucrt as libc.
Diffstat (limited to 'pkgs/development/libraries/libxml2/default.nix')
-rw-r--r--pkgs/development/libraries/libxml2/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/libxml2/default.nix b/pkgs/development/libraries/libxml2/default.nix
index 06c073c718ac9..494e904210168 100644
--- a/pkgs/development/libraries/libxml2/default.nix
+++ b/pkgs/development/libraries/libxml2/default.nix
@@ -14,7 +14,7 @@
 , pythonSupport ? enableShared && stdenv.buildPlatform == stdenv.hostPlatform
 , icuSupport ? false
 , icu
-, enableShared ? stdenv.hostPlatform.libc != "msvcrt" && !stdenv.hostPlatform.isStatic
+, enableShared ? !stdenv.hostPlatform.isMinGW && !stdenv.hostPlatform.isStatic
 , enableStatic ? !enableShared
 , gnome
 }: