summaryrefslogtreecommitdiff
path: root/packages/jamvm/jamvm_1.5.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/jamvm/jamvm_1.5.0.bb')
-rw-r--r--packages/jamvm/jamvm_1.5.0.bb9
1 files changed, 8 insertions, 1 deletions
diff --git a/packages/jamvm/jamvm_1.5.0.bb b/packages/jamvm/jamvm_1.5.0.bb
index efa959f0f9..366658dd97 100644
--- a/packages/jamvm/jamvm_1.5.0.bb
+++ b/packages/jamvm/jamvm_1.5.0.bb
@@ -1,5 +1,12 @@
require jamvm.inc
-PR = "r0"
+SRC_URI += "file://debian-jni.patch;patch=1;pnum=0"
+PR = "r1"
+
+do_configure_prepend() {
+ # Replaces the placeholder OE_LIBDIR_JNI with the JNI library directory
+ # configured in OE.
+ sed -i -e "s|OE_LIBDIR_JNI|${libdir_jni}|" src/dll.c
+}