mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-20 12:42:24 +00:00
GCC 4.4: Don't expect zlib when `langJava' is false.
svn path=/nixpkgs/trunk/; revision=16518
This commit is contained in:
parent
b0e71363d1
commit
33c6204f95
|
@ -125,15 +125,13 @@ stdenv.mkDerivation ({
|
|||
|
||||
CPATH = concatStrings
|
||||
(intersperse ":" (map (x: x + "/include")
|
||||
([ zlib ]
|
||||
++ optional langJava boehmgc
|
||||
(optionals langJava [ boehmgc zlib ]
|
||||
++ optionals javaAwtGtk xlibs
|
||||
++ optionals javaAwtGtk [ gmp mpfr ])));
|
||||
|
||||
LIBRARY_PATH = concatStrings
|
||||
(intersperse ":" (map (x: x + "/lib")
|
||||
([ zlib ]
|
||||
++ optional langJava boehmgc
|
||||
(optionals langJava [ boehmgc zlib ]
|
||||
++ optionals javaAwtGtk xlibs
|
||||
++ optionals javaAwtGtk [ gmp mpfr ])));
|
||||
|
||||
|
|
Loading…
Reference in a new issue