summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBrian Jones <cbj@gnu.org>1999-12-31 13:41:48 +0000
committerBrian Jones <cbj@gnu.org>1999-12-31 13:41:48 +0000
commit3baaa8212d7abb22f331d5ea0fa09ce91cfb99d3 (patch)
tree2d4a77b22e343491707af376d8f06e81edc8c2fd /lib
parent6e3d4f314ea591bd13e8964eacf9af7fe401e025 (diff)
downloadclasspath-3baaa8212d7abb22f331d5ea0fa09ce91cfb99d3.tar.gz
did not pass the right arguments to javah when it was user specified,
fix now to be -jni. let me rant right now and say that all these java tools using whatever the hell they want for arguments is totally ****ed up.
Diffstat (limited to 'lib')
-rw-r--r--lib/Makefile.am6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am
index a7fd881b5..c5197c371 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -132,7 +132,13 @@ endif
# program
#-----------------------------------------------------------------
if JAPHAR
+
+if USER_SPECIFIED_JAVAH
+ARG_JNI_JAVAH = -jni
+else
ARG_JNI_JAVAH = --jni
+endif
+
else
ARG_JNI_JAVAH = -jni
endif