2004-05-07 Ranjit Mathew <rmathew@gmail.com>
authorbryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 7 May 2004 14:59:43 +0000 (14:59 +0000)
committerbryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 7 May 2004 14:59:43 +0000 (14:59 +0000)
* testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Don't link the
main binary against the JNI shared library.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81622 138bc75d-0d04-0410-961f-82ee72b054a4

libjava/ChangeLog
libjava/testsuite/libjava.jni/jni.exp

index ceaaa7b..022c6ee 100644 (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,
index 3c9f3e4..5ca07ab 100644 (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