Commit 3fb90446 by H.J. Lu Committed by H.J. Lu

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
parent 69fcfd68
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*"] } {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment