Skip to content

Commit

Permalink
jni-library.bbclass: Override JAVAH for our jni recipes.
Browse files Browse the repository at this point in the history
We need the javah from icedtea6 here.
  • Loading branch information
Stefan Schmidt committed Feb 9, 2011
1 parent e88ef73 commit b7e1882
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion 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"

Expand All @@ -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
Expand Down

0 comments on commit b7e1882

Please sign in to comment.