diff options
| author | Henning Heinold <heinold@inf.fu-berlin.de> | 2013-01-24 22:56:57 +0100 |
|---|---|---|
| committer | Henning Heinold <heinold@inf.fu-berlin.de> | 2013-01-25 11:16:10 +0100 |
| commit | d0eeda3107951433db2b6d4ed602573ae52e166e (patch) | |
| tree | cc7306bd94db38f9279163aa2cc1288d8c42681f | |
| parent | 904397bdae60423ee6d210f9aa65e57dc26ae155 (diff) | |
| download | meta-java-d0eeda3107951433db2b6d4ed602573ae52e166e.tar.gz | |
openjdk: link libjvm.so from hotspot to archdir
* native libararies located in the archdir search for libjvm.so
in the archdir directory so make a link to satisfy the search
| -rw-r--r-- | recipes-core/openjdk/openjdk-6-common.inc | 2 | ||||
| -rw-r--r-- | recipes-core/openjdk/openjdk-7-common.inc | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/recipes-core/openjdk/openjdk-6-common.inc b/recipes-core/openjdk/openjdk-6-common.inc index aa7fbc7..c21711f 100644 --- a/recipes-core/openjdk/openjdk-6-common.inc +++ b/recipes-core/openjdk/openjdk-6-common.inc | |||
| @@ -328,6 +328,8 @@ do_install() { | |||
| 328 | ln -s ${JDK_HOME}/jre/bin/$bf ${D}${JDK_HOME}/bin/$bf | 328 | ln -s ${JDK_HOME}/jre/bin/$bf ${D}${JDK_HOME}/bin/$bf |
| 329 | done | 329 | done |
| 330 | install -m644 ${WORKDIR}/jvm.cfg ${D}${JDK_HOME}/jre/lib/${JDK_ARCH}/ | 330 | install -m644 ${WORKDIR}/jvm.cfg ${D}${JDK_HOME}/jre/lib/${JDK_ARCH}/ |
| 331 | # workaround for shared libarary searching | ||
| 332 | ln -sf ${JDK_HOME}/jre/lib/${JDK_ARCH}/server/libjvm.so ${D}${JDK_HOME}/jre/lib/${JDK_ARCH}/ | ||
| 331 | } | 333 | } |
| 332 | 334 | ||
| 333 | # Notes about the ideas behind packaging: | 335 | # Notes about the ideas behind packaging: |
diff --git a/recipes-core/openjdk/openjdk-7-common.inc b/recipes-core/openjdk/openjdk-7-common.inc index 76dc3f0..c58a436 100644 --- a/recipes-core/openjdk/openjdk-7-common.inc +++ b/recipes-core/openjdk/openjdk-7-common.inc | |||
| @@ -10,7 +10,7 @@ ICEDTEA = "NEEDS TO BE SET" | |||
| 10 | S = "${WORKDIR}/${ICEDTEA}" | 10 | S = "${WORKDIR}/${ICEDTEA}" |
| 11 | B = "${S}/build" | 11 | B = "${S}/build" |
| 12 | 12 | ||
| 13 | INC_PR = "r4" | 13 | INC_PR = "r5" |
| 14 | 14 | ||
| 15 | SRC_URI = " \ | 15 | SRC_URI = " \ |
| 16 | ${ICEDTEA_URI} \ | 16 | ${ICEDTEA_URI} \ |
| @@ -275,6 +275,8 @@ do_install() { | |||
| 275 | done | 275 | done |
| 276 | 276 | ||
| 277 | install -m644 ${WORKDIR}/jvm.cfg ${D}${JDK_HOME}/jre/lib/${JDK_ARCH}/ | 277 | install -m644 ${WORKDIR}/jvm.cfg ${D}${JDK_HOME}/jre/lib/${JDK_ARCH}/ |
| 278 | # workaround for shared libarary searching | ||
| 279 | ln -sf ${JDK_HOME}/jre/lib/${JDK_ARCH}/server/libjvm.so ${D}${JDK_HOME}/jre/lib/${JDK_ARCH}/ | ||
| 278 | } | 280 | } |
| 279 | 281 | ||
| 280 | # Notes about the ideas behind packaging: | 282 | # Notes about the ideas behind packaging: |
