jni.exp (gcj_jni_invocation_test_one): Use libjava_find_lib to find the proper libgcj.
2005-09-17 H.J. Lu <hongjiu.lu@intel.com> * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Use libjava_find_lib to find the proper libgcj. From-SVN: r104370
This commit is contained in:
parent
69fcfd68ce
commit
3fb90446b4
@ -1,3 +1,8 @@
|
||||
2005-09-17 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one):
|
||||
Use libjava_find_lib to find the proper libgcj.
|
||||
|
||||
2005-09-16 Anthony Green <green@redhat.com>
|
||||
|
||||
PR libgcj/20198
|
||||
|
@ -248,7 +248,13 @@ proc gcj_jni_invocation_test_one {file} {
|
||||
if { [istarget "*-*-darwin*"] } {
|
||||
set cxxflags "-L../.libs -lgcc_s -lgcj -liconv"
|
||||
} else {
|
||||
set cxxflags "-L../.libs -lgcj"
|
||||
global LIBJAVA
|
||||
if [info exists LIBJAVA] {
|
||||
set libjava $LIBJAVA;
|
||||
} else {
|
||||
set libjava [libjava_find_lib libjava gcj]
|
||||
}
|
||||
set cxxflags "$libjava -lgcj"
|
||||
}
|
||||
|
||||
if { [istarget "*-*-solaris*"] } {
|
||||
|
Loading…
Reference in New Issue
Block a user