jni.exp (gcj_jni_test_one): Don't link the main binary against the JNI shared library.

2004-05-07  Ranjit Mathew  <rmathew@gmail.com>

	* testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Don't link the
	main binary against the JNI shared library.

From-SVN: r81622
This commit is contained in:
Ranjit Mathew 2004-05-07 14:59:43 +00:00 committed by Bryce McKinlay
parent bc21b3f34a
commit 8e31e1284d
2 changed files with 6 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2004-05-07 Ranjit Mathew <rmathew@gmail.com>
* testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Don't link the
main binary against the JNI shared library.
2004-05-07 Jerry Quinn <jlquinn@optonline.net>
* java/util/SimpleTimeZone.java (startTimeMode, endTimeMode,

View File

@ -137,9 +137,7 @@ proc gcj_jni_test_one {file} {
return 0
}
# We use -l$main because the .so is named the same as the main
# program.
set args [list "additional_flags=-fjni -L. -l$main"]
set args [list "additional_flags=-fjni"]
if {! [gcj_link $main $main $file $args]} {
# FIXME
return 0