mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-26 21:31:34 +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>
|
2004-05-07 Jerry Quinn <jlquinn@optonline.net>
|
||||||
|
|
||||||
* java/util/SimpleTimeZone.java (startTimeMode, endTimeMode,
|
* java/util/SimpleTimeZone.java (startTimeMode, endTimeMode,
|
||||||
|
@ -137,9 +137,7 @@ proc gcj_jni_test_one {file} {
|
|||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
# We use -l$main because the .so is named the same as the main
|
set args [list "additional_flags=-fjni"]
|
||||||
# program.
|
|
||||||
set args [list "additional_flags=-fjni -L. -l$main"]
|
|
||||||
if {! [gcj_link $main $main $file $args]} {
|
if {! [gcj_link $main $main $file $args]} {
|
||||||
# FIXME
|
# FIXME
|
||||||
return 0
|
return 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user