glib: fix windows compilation

main
Marius DAVID 2 years ago committed by marius david
parent d398bdde95
commit 3cd7ed9ca9
  1. 4
      pkgs/development/libraries/glib/default.nix

@ -93,6 +93,7 @@ stdenv.mkDerivation rec {
buildInputs = [
libelf setupHook pcre
] ++ optionals (!stdenv.hostPlatform.isWindows) [
bash gnum4 # install glib-gettextize and m4 macros for other apps to use
] ++ optionals stdenv.isLinux [
libselinux
@ -143,6 +144,9 @@ stdenv.mkDerivation rec {
patchShebangs glib/gen-unicode-tables.pl
patchShebangs tests/gen-casefold-txt.py
patchShebangs tests/gen-casemap-txt.py
'' + lib.optionalString stdenv.hostPlatform.isWindows ''
substituteInPlace gio/win32/meson.build \
--replace "libintl, " ""
'';
DETERMINISTIC_BUILD = 1;

Loading…
Cancel
Save