mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-02-11 05:09:46 +08:00
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:
parent
bc21b3f34a
commit
8e31e1284d
@ -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,
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user