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
|
, gobjectSupport ? true, glib
|
||||||
, stdenv, fetchurl, pkgconfig, x11, fontconfig, freetype, xlibs
|
, stdenv, fetchurl, pkgconfig, x11, fontconfig, freetype, xlibs
|
||||||
, zlib, libpng, pixman, libxcb ? null, xcbutil ? null
|
, zlib, libpng, pixman, libxcb ? null, xcbutil ? null
|
||||||
, gettext
|
, gettext, libiconvOrEmpty
|
||||||
}:
|
}:
|
||||||
|
|
||||||
assert postscriptSupport -> zlib != null;
|
assert postscriptSupport -> zlib != null;
|
||||||
@ -25,7 +25,9 @@ stdenv.mkDerivation rec {
|
|||||||
++ stdenv.lib.optionals xcbSupport [ libxcb xcbutil ]
|
++ stdenv.lib.optionals xcbSupport [ libxcb xcbutil ]
|
||||||
|
|
||||||
# On non-GNU systems we need GNU Gettext for libintl.
|
# On non-GNU systems we need GNU Gettext for libintl.
|
||||||
++ stdenv.lib.optional (!stdenv.isLinux) gettext;
|
++ stdenv.lib.optional (!stdenv.isLinux) gettext
|
||||||
|
|
||||||
|
++ libiconvOrEmpty;
|
||||||
|
|
||||||
propagatedBuildInputs =
|
propagatedBuildInputs =
|
||||||
[ freetype pixman ] ++
|
[ freetype pixman ] ++
|
||||||
|
Loading…
x
Reference in New Issue
Block a user