summaryrefslogtreecommitdiff
path: root/packages/jamvm/jamvm_1.5.0.bb
diff options
context:
space:
mode:
authorRobert Schuster <thebohemian@gmx.net>2008-02-09 03:14:56 +0000
committerRobert Schuster <thebohemian@gmx.net>2008-02-09 03:14:56 +0000
commitd444ca375061d1fa88566455932c0644715c6fa4 (patch)
treeb3018f6d615531c63253daf603087b93ca6f3350 /packages/jamvm/jamvm_1.5.0.bb
parent5de12a6ba0bc1fc8c0c23e718586250b24954c28 (diff)
jamvm: Added support for variable JNI path.
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
+}