GCC 4.6: Fix erroneous dependency on X libraries when !javaAwtGtk.

svn path=/nixpkgs/trunk/; revision=32620
This commit is contained in:
Ludovic Courtès 2012-02-27 17:22:27 +00:00
parent 49cb081019
commit 0400423fb1

View file

@ -223,7 +223,7 @@ stdenv.mkDerivation ({
++ (optional (cloog != null) cloog)
++ (optional (zlib != null) zlib)
++ (optionals langJava [ boehmgc zip unzip ])
++ (optionals javaAwtGtk [ gtk libart_lgpl ] ++ xlibs)
++ (optionals javaAwtGtk ([ gtk libart_lgpl ] ++ xlibs))
++ (optionals (cross != null) [binutilsCross])
++ (optionals langAda [gnatboot])
++ (optionals langVhdl [gnat])