3
0
Fork 0
forked from mirrors/nixpkgs

gtk2: fix build on darwin (close #749)

* add xlibs.libXi to build inputs
This commit is contained in:
Jason \"Don\" O'Conal 2013-07-14 11:52:30 +10:00 committed by Vladimír Čunát
parent b43d1c014a
commit 75dedeb8bd

View file

@ -20,6 +20,8 @@ stdenv.mkDerivation rec {
NIX_CFLAGS_COMPILE = "-I${cairo}/include/cairo"
+ stdenv.lib.optionalString (libintlOrEmpty != []) " -lintl";
buildInputs = stdenv.lib.optional stdenv.isDarwin xlibs.libXi;
nativeBuildInputs = [ perl pkgconfig gettext ];
propagatedBuildInputs = with xlibs; with stdenv.lib;