aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-core/cacao
diff options
context:
space:
mode:
authorHugo Vasconcelos Saldanha <hugo.saldanha@aker.com.br>2015-02-24 13:05:37 -0300
committerOtavio Salvador <otavio@ossystems.com.br>2015-02-26 21:22:31 -0300
commit6acfc3350dd4e5f37866d95b870ff91edf64751b (patch)
tree87015c43b3ce384a62fad91c01339720dde0f7c3 /recipes-core/cacao
parentc9645a2e3c1103044ad494c5158d4d2e849e3e39 (diff)
downloadmeta-java-6acfc3350dd4e5f37866d95b870ff91edf64751b.tar.gz
meta-java-6acfc3350dd4e5f37866d95b870ff91edf64751b.tar.bz2
meta-java-6acfc3350dd4e5f37866d95b870ff91edf64751b.zip
cacao: create the link /usr/bin/java in cacao-native
In native build, the link is not created by update-alternatives. Some package builds were failing, like gnumail and gnujaf, if cacao was the PREFERRED_PROVIDER_virtual/java-native. Something similiar is currently done with jamvm-native. Signed-off-by: Hugo Vasconcelos Saldanha <hugo.saldanha@aker.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'recipes-core/cacao')
-rw-r--r--recipes-core/cacao/cacao_1.6.1.bb4
1 files changed, 4 insertions, 0 deletions
diff --git a/recipes-core/cacao/cacao_1.6.1.bb b/recipes-core/cacao/cacao_1.6.1.bb
index 0cb2fbc..2bd06c6 100644
--- a/recipes-core/cacao/cacao_1.6.1.bb
+++ b/recipes-core/cacao/cacao_1.6.1.bb
@@ -59,6 +59,10 @@ do_install_append () {
rm ${D}/${bindir}/java
}
+do_install_append_class-native () {
+ ln -sf cacao ${D}/${bindir}/java
+}
+
FILES_${PN} = "${bindir}/${PN} ${libdir}/cacao/lib*.so ${libdir}/lib*.so* ${datadir}/${PN}"
FILES_${PN}-dbg += "${bindir}/.debug ${libdir}/.debug/lib*.so*"
FILES_${PN}-doc += "${datadir}/gc"