[oe-commits] Stefan Schmidt : jni-library.bbclass: Override JAVAH for our jni recipes.
git version control
git at git.openembedded.org
Wed Feb 9 09:35:03 UTC 2011
Module: openembedded.git
Branch: master
Commit: b7e1882fe3e9f5f10f7737b5038ce1d7346107c2
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=b7e1882fe3e9f5f10f7737b5038ce1d7346107c2
Author: Stefan Schmidt <stefan at buglabs.net>
Date: Wed Dec 15 18:52:09 2010 +0100
jni-library.bbclass: Override JAVAH for our jni recipes.
We need the javah from icedtea6 here.
---
classes/jni-library.bbclass | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/classes/jni-library.bbclass b/classes/jni-library.bbclass
index fefbace..f484b97 100644
--- a/classes/jni-library.bbclass
+++ b/classes/jni-library.bbclass
@@ -1,5 +1,5 @@
# we need javah
-DEPENDS += "openjdk-langtools-native zip-native"
+DEPENDS += "openjdk-langtools-native zip-native icedtea6-native"
JNI_LIB_DIR = "/usr/lib/jni"
@@ -15,6 +15,7 @@ EXTRA_OEMAKE +=" \
STAGING_INCDIR=${STAGING_INCDIR} \
CLASSPATH_INCDIR=${STAGING_INCDIR}/classpath \
ROOTFS_BUG=${STAGING_LIBDIR}/../../ \
+ JAVAH=${STAGING_LIBDIR_JVM_NATIVE}/icedtea6-native/bin/javah \
"
addtask jni_compile after do_compile before do_install
More information about the Openembedded-commits
mailing list