classpath-native.inc:
authorRobert Schuster <thebohemian@gmx.net>
Sat, 26 Jul 2008 20:07:11 +0000 (20:07 +0000)
committerRobert Schuster <thebohemian@gmx.net>
Sat, 26 Jul 2008 20:07:11 +0000 (20:07 +0000)
- add JAVAC export to fix building newer classpath(-native) versions

packages/classpath/classpath-native.inc

index bb5abaf..94eac96 100644 (file)
@@ -10,9 +10,13 @@ DEPENDS = "ecj-initial fastjar-native zip-native"
 
 inherit autotools native
 
+export JAVAC="${STAGING_BINDIR_NATIVE}/ecj-initial"
+
+# Note: the --with-ecj options seems redundant but is
+# for compatibility with older classpath versions.
 EXTRA_OECONF = "\
-  --with-glibj \
   --with-ecj=${STAGING_BINDIR_NATIVE}/ecj-initial \
+  --with-glibj \
   --with-fastjar=fastjar \
   --enable-local-sockets \
   --disable-alsa \