From 8e31e1284dfe9ea5183e3e2c94bf690a779ea32f Mon Sep 17 00:00:00 2001 From: Ranjit Mathew Date: Fri, 7 May 2004 14:59:43 +0000 Subject: [PATCH] jni.exp (gcj_jni_test_one): Don't link the main binary against the JNI shared library. 2004-05-07 Ranjit Mathew * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Don't link the main binary against the JNI shared library. From-SVN: r81622 --- libjava/ChangeLog | 5 +++++ libjava/testsuite/libjava.jni/jni.exp | 4 +--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/libjava/ChangeLog b/libjava/ChangeLog index ceaaa7b49c8..022c6ee6f70 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,8 @@ +2004-05-07 Ranjit Mathew + + * 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 * java/util/SimpleTimeZone.java (startTimeMode, endTimeMode, diff --git a/libjava/testsuite/libjava.jni/jni.exp b/libjava/testsuite/libjava.jni/jni.exp index 3c9f3e48a6a..5ca07abb07d 100644 --- a/libjava/testsuite/libjava.jni/jni.exp +++ b/libjava/testsuite/libjava.jni/jni.exp @@ -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 -- 2.30.2