mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 11:02:05 +00:00
cairo: pass `libiconvOrEmpty'; fixes builds on non-GNU system
This commit is contained in:
parent
6f21c88ffc
commit
c8d9220257
|
@ -5,7 +5,7 @@
|
|||
, gobjectSupport ? true, glib
|
||||
, stdenv, fetchurl, pkgconfig, x11, fontconfig, freetype, xlibs
|
||||
, zlib, libpng, pixman, libxcb ? null, xcbutil ? null
|
||||
, gettext
|
||||
, gettext, libiconvOrEmpty
|
||||
}:
|
||||
|
||||
assert postscriptSupport -> zlib != null;
|
||||
|
@ -25,7 +25,9 @@ stdenv.mkDerivation rec {
|
|||
++ stdenv.lib.optionals xcbSupport [ libxcb xcbutil ]
|
||||
|
||||
# On non-GNU systems we need GNU Gettext for libintl.
|
||||
++ stdenv.lib.optional (!stdenv.isLinux) gettext;
|
||||
++ stdenv.lib.optional (!stdenv.isLinux) gettext
|
||||
|
||||
++ libiconvOrEmpty;
|
||||
|
||||
propagatedBuildInputs =
|
||||
[ freetype pixman ] ++
|
||||
|
|
Loading…
Reference in a new issue