aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2013-05-29 13:43:20 -0700
committerHenning Heinold <heinold@inf.fu-berlin.de>2013-09-29 21:52:02 +0200
commit2e8a124faf208f6ea1aa3a16a3aab4c3a69ac2e8 (patch)
tree63e32261cefb3e422adabb93f2d0158a3d9fc2d0
parentdca442370feada140aa1f9b42a46a0d48917333e (diff)
downloadmeta-java-2e8a124faf208f6ea1aa3a16a3aab4c3a69ac2e8.tar.gz
meta-java-2e8a124faf208f6ea1aa3a16a3aab4c3a69ac2e8.tar.bz2
meta-java-2e8a124faf208f6ea1aa3a16a3aab4c3a69ac2e8.zip
classpath: Adjust classpaths when using jamvm from sstate
when building from sstate and classpath wants to rebuild then jamvm still needs the new paths. Its needed for classpath since it does not inherit java-library class otherwise it would not be needed. Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--recipes-core/classpath/classpath.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/recipes-core/classpath/classpath.inc b/recipes-core/classpath/classpath.inc
index 1bdfd78..81476c0 100644
--- a/recipes-core/classpath/classpath.inc
+++ b/recipes-core/classpath/classpath.inc
@@ -28,6 +28,8 @@ SRC_URI = "${GNU_MIRROR}/classpath/classpath-${PV}.tar.gz"
S = "${WORKDIR}/${PBN}-${PV}"
export JAVA = "java"
+export LD_LIBRARY_PATH = "$LD_LIBRARY_PATH:${STAGING_LIBDIR_NATIVE}/classpath:${STAGING_LIBDIR_NATIVE}/jamvm"
+export BOOTCLASSPATH = "${STAGING_DATADIR_NATIVE}/jamvm/classes.zip:${STAGING_DATADIR_NATIVE}/classpath/glibj.zip"
EXTRA_OECONF = "\
--with-glibj \