diff options
author | Khem Raj <raj.khem@gmail.com> | 2013-05-24 13:43:20 -0700 |
---|---|---|
committer | Henning Heinold <heinold@inf.fu-berlin.de> | 2013-09-29 21:50:55 +0200 |
commit | 9406a34197e0d116bdfcf451f90112b67796455c (patch) | |
tree | cb105c2e509045c86475f31050cc9612947b17d9 | |
parent | 2abf8524c81d3e0e4ec5004721fdc74479bb2790 (diff) | |
download | meta-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.bbclass | 3 | ||||
-rw-r--r-- | recipes-core/jamvm/jamvm.inc | 2 |
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 | ||
11 | inherit java | 11 | inherit java |
12 | export LD_LIBRARY_PATH = "$LD_LIBRARY_PATH:${STAGING_LIBDIR_NATIVE}/classpath:${STAGING_LIBDIR_NATIVE}/jamvm" | ||
13 | export 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 |
14 | JAVA_NATIVE_STAGE_INSTALL = "1" | 17 | JAVA_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 = "" |
53 | export LD_LIBRARY_PATH | ||
54 | export BOOTCLASSPATH | ||
53 | 55 | ||