GCJ 4.5: Fix value of the `java.home' property.

svn path=/nixpkgs/trunk/; revision=21988
This commit is contained in:
Ludovic Courtès 2010-05-26 14:53:04 +00:00
parent 343bbc2712
commit 7132072986

View File

@ -190,8 +190,7 @@ stdenv.mkDerivation ({
${if cloogppl != null then "--with-cloog=${cloogppl}" else ""}
${if langJava then
"--with-ecj-jar=${javaEcj} " +
"--enable-java-home --with-java-home=\${prefix} " +
"--with-jvm-root-dir=\${prefix}/jdk"
"--enable-java-home --with-java-home=\${prefix}/lib/jvm "
else ""}
${if javaAwtGtk then "--enable-java-awt=gtk" else ""}
${if langJava && javaAntlr != null then "--with-antlr-jar=${javaAntlr}" else ""}