cacao-native.inc: Fix setting include dir.
authorRobert Schuster <thebohemian@gmx.net>
Thu, 10 Jul 2008 19:48:07 +0000 (19:48 +0000)
committerRobert Schuster <thebohemian@gmx.net>
Thu, 10 Jul 2008 19:48:07 +0000 (19:48 +0000)
packages/cacao/cacao-native.inc

index 8ae2874..f4eee16 100644 (file)
@@ -17,7 +17,7 @@ EXTRA_OECONF = "\
   --with-vm-zip=${datadir}/cacao/vm.zip \
   \
   --with-classpath-libdir=${libdir_jni}:${libdir} \
-  --with-classpath-includedir=${includedir}/classpath \
+  --with-classpath-includedir=${incdir}/classpath \
   --with-classpath-classes=${datadir}/classpath/glibj.zip \
   \
   --with-java-runtime-library-classes=${datadir}/classpath/glibj.zip \
@@ -26,8 +26,11 @@ EXTRA_OECONF = "\
   --with-jni_h=${incdir}/classpath \
   "
 
-# force usage of ecj-initial (but Java5-compatible class library)
-export JAVAC="${STAGING_BINDIR_NATIVE}/ecj-initial -bootclasspath ${STAGING_DATADIR_NATIVE}/classpath/glibj.zip"
+# force usage of ecj-initial
+# Important: Not specifying the bootclasspath argument here is only supported
+# for Cacao >= 0.99. Earlier Cacao may need the BCP set to a Java5-capable
+# class library.
+export JAVAC="${STAGING_BINDIR_NATIVE}/ecj-initial"
 
 # force usage of fastjar
-export JAR=fastjar
+export JAR="fastjar"