[kaffe] Another one...

Jukka Santala jsantala at morphine.tml.hut.fi
Thu Sep 12 04:46:54 PDT 2002


Another very small patch. If you take a look at rebuildLib(.in), you'll
see it changes to the classlib source-directory before starting to build
it. This is a problem, because SRCDIR environment variable will contain a
relative path. If you're building the source-tree somewhere else than into
the original source-tree (As is recommended for the GNU tools, and in any
case often desirable ex. when cross-compiling for several platforms) this
relative path will obiviously point into wrong directory. Luckily, since
we've already changed to said directory, no path name is neccessary.

 -Jukka Santala
-------------- next part --------------
Index: libraries/javalib/rebuildLib.in
===================================================================
RCS file: /cvs/kaffe/kaffe/libraries/javalib/rebuildLib.in,v
retrieving revision 1.23
diff -u -r1.23 rebuildLib.in
--- libraries/javalib/rebuildLib.in	15 Aug 2002 12:24:31 -0000	1.23
+++ libraries/javalib/rebuildLib.in	12 Sep 2002 11:37:45 -0000
@@ -42,4 +42,4 @@
 cd $SRCDIR
 
 echo "Compiling classes ..."
-CLASSPATH=$SRCDIR/Klasses.jar.bootstrap:$CLASSPATH $JAVAC $VERBOSE -d $LIBDIR $CPATH ${1+"$@"}
+CLASSPATH=./Klasses.jar.bootstrap:$CLASSPATH $JAVAC $VERBOSE -d $LIBDIR $CPATH ${1+"$@"}


More information about the kaffe mailing list