From 2e8a124faf208f6ea1aa3a16a3aab4c3a69ac2e8 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 29 May 2013 13:43:20 -0700 Subject: 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 --- recipes-core/classpath/classpath.inc | 2 ++ 1 file changed, 2 insertions(+) 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 \ -- cgit v1.2.3-54-g00ecf