aboutsummaryrefslogtreecommitdiffstats
path: root/classes/jni-library.bbclass
diff options
context:
space:
mode:
authorStefan Schmidt <stefan@buglabs.net>2010-12-15 18:52:09 +0100
committerStefan Schmidt <stefan@buglabs.net>2011-02-09 10:33:36 +0100
commitb7e1882fe3e9f5f10f7737b5038ce1d7346107c2 (patch)
treeeed50b17d968bdabe6a209cf46dd263efb5a38c6 /classes/jni-library.bbclass
parente88ef734d922a666dd66f6f4c8d3ffed0ea8883b (diff)
downloadopenembedded-b7e1882fe3e9f5f10f7737b5038ce1d7346107c2.tar.gz
jni-library.bbclass: Override JAVAH for our jni recipes.
We need the javah from icedtea6 here.
Diffstat (limited to 'classes/jni-library.bbclass')
-rw-r--r--classes/jni-library.bbclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/classes/jni-library.bbclass b/classes/jni-library.bbclass
index fefbace208..f484b97dac 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