summaryrefslogtreecommitdiffstats
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
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 @@
9# to set JPN manually! 9# to set JPN manually!
10 10
11inherit java 11inherit java
12export LD_LIBRARY_PATH = "$LD_LIBRARY_PATH:${STAGING_LIBDIR_NATIVE}/classpath:${STAGING_LIBDIR_NATIVE}/jamvm"
13export BOOTCLASSPATH = "${STAGING_DATADIR_NATIVE}/jamvm/classes.zip:${STAGING_DATADIR_NATIVE}/classpath/glibj.zip"
14
12 15
13# use java_stage for native packages 16# use java_stage for native packages
14JAVA_NATIVE_STAGE_INSTALL = "1" 17JAVA_NATIVE_STAGE_INSTALL = "1"