summary refs log tree commit diff
path: root/pkgs/development/libraries/libxml2
diff options
context:
space:
mode:
authorGuillaume Girol <symphorien+git@xlumurb.eu>2021-08-07 12:00:00 +0000
committerGuillaume Girol <symphorien+git@xlumurb.eu>2021-08-19 09:30:46 +0200
commit652f7fafd2f06605bd82eb06f0eab7e0608abfb8 (patch)
tree9d2a5f6cd826ca277b6ea726f977a2bf44b20371 /pkgs/development/libraries/libxml2
parenta9e262063072f4220414868ce4a4812e6676e374 (diff)
downloadnixpkgs-652f7fafd2f06605bd82eb06f0eab7e0608abfb8.tar
nixpkgs-652f7fafd2f06605bd82eb06f0eab7e0608abfb8.tar.gz
nixpkgs-652f7fafd2f06605bd82eb06f0eab7e0608abfb8.tar.bz2
nixpkgs-652f7fafd2f06605bd82eb06f0eab7e0608abfb8.tar.lz
nixpkgs-652f7fafd2f06605bd82eb06f0eab7e0608abfb8.tar.xz
nixpkgs-652f7fafd2f06605bd82eb06f0eab7e0608abfb8.tar.zst
nixpkgs-652f7fafd2f06605bd82eb06f0eab7e0608abfb8.zip
libxml2: fix static build
Diffstat (limited to 'pkgs/development/libraries/libxml2')
-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 1b58b4539e4..9a8cea6955d 100644
--- a/pkgs/development/libraries/libxml2/default.nix
+++ b/pkgs/development/libraries/libxml2/default.nix
@@ -2,7 +2,7 @@
 , zlib, xz, libintl, python, gettext, ncurses, findXMLCatalogs
 , pythonSupport ? enableShared && stdenv.buildPlatform == stdenv.hostPlatform
 , icuSupport ? false, icu ? null
-, enableShared ? stdenv.hostPlatform.libc != "msvcrt"
+, enableShared ? stdenv.hostPlatform.libc != "msvcrt" && !stdenv.hostPlatform.isStatic
 , enableStatic ? !enableShared
 }: