summaryrefslogtreecommitdiffstats
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
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>
-rw-r--r--classes/java-library.bbclass3
-rw-r--r--recipes-core/jamvm/jamvm.inc2
2 files changed, 5 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"
diff --git a/recipes-core/jamvm/jamvm.inc b/recipes-core/jamvm/jamvm.inc
index 84c8513..e82a780 100644
--- a/recipes-core/jamvm/jamvm.inc
+++ b/recipes-core/jamvm/jamvm.inc
@@ -50,4 +50,6 @@ ALTERNATIVE_PRIORITY = "4"
50# shared state for jamvm-native does not work 50# shared state for jamvm-native does not work
51# since the paths are hardcoded 51# since the paths are hardcoded
52#SSTATE_MIRRORS_class-native = "" 52#SSTATE_MIRRORS_class-native = ""
53export LD_LIBRARY_PATH
54export BOOTCLASSPATH
53 55