GCJ 4.5: Fix `java.home'.
svn path=/nixpkgs/trunk/; revision=21999
This commit is contained in:
parent
4d2a82ab85
commit
caf8fe39cf
@ -190,7 +190,10 @@ stdenv.mkDerivation ({
|
||||
${if cloogppl != null then "--with-cloog=${cloogppl}" else ""}
|
||||
${if langJava then
|
||||
"--with-ecj-jar=${javaEcj} " +
|
||||
"--enable-java-home --with-java-home=\${prefix}/lib/jvm "
|
||||
|
||||
# Follow Sun's layout for the convenience of IcedTea/OpenJDK. See
|
||||
# <http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2010-April/008888.html>.
|
||||
"--enable-java-home --with-java-home=\${prefix}/lib/jvm/jre "
|
||||
else ""}
|
||||
${if javaAwtGtk then "--enable-java-awt=gtk" else ""}
|
||||
${if langJava && javaAntlr != null then "--with-antlr-jar=${javaAntlr}" else ""}
|
||||
|
Loading…
Reference in New Issue
Block a user