aboutsummaryrefslogtreecommitdiffstats
path: root/classes
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2013-05-24 13:43:20 -0700
committerHenning Heinold <heinold@inf.fu-berlin.de>2013-09-29 21:50:55 +0200
commit9406a34197e0d116bdfcf451f90112b67796455c (patch)
treecb105c2e509045c86475f31050cc9612947b17d9 /classes
parent2abf8524c81d3e0e4ec5004721fdc74479bb2790 (diff)
downloadmeta-java-9406a34197e0d116bdfcf451f90112b67796455c.tar.gz
meta-java-9406a34197e0d116bdfcf451f90112b67796455c.tar.bz2
meta-java-9406a34197e0d116bdfcf451f90112b67796455c.zip
java-library.bbclass: Export BOOTCLASSPATH and LD_LIBRARY_PATH
They are helpful in rebuilding from shared state since jamvm is not so relocatable. Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'classes')
-rw-r--r--classes/java-library.bbclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/classes/java-library.bbclass b/classes/java-library.bbclass
index a74c8d3..749f1fb 100644
--- a/classes/java-library.bbclass
+++ b/classes/java-library.bbclass
@@ -9,6 +9,9 @@
# to set JPN manually!
inherit 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"
+
# use java_stage for native packages
JAVA_NATIVE_STAGE_INSTALL = "1"