This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
FYI: fix PR16923 testsuite failure
- From: Thomas Fitzsimmons <fitzsim at redhat dot com>
- To: java-patches at gcc dot gnu dot org
- Date: Thu, 22 Jun 2006 15:24:54 -0400
- Subject: FYI: fix PR16923 testsuite failure
Hi,
I committed this patch which fixes the PR16923 testsuite failure introduced by
my libjvm.so patch.
Tom
2006-06-22 Thomas Fitzsimmons <fitzsim@redhat.com>
* testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one):
Link against -ljvm, not -lgcj.
Index: testsuite/libjava.jni/jni.exp
===================================================================
--- testsuite/libjava.jni/jni.exp (revision 114894)
+++ testsuite/libjava.jni/jni.exp (working copy)
@@ -258,7 +258,7 @@
# -dylib_file option, but that's complicated, and it's much easier
# to just make the linker find libgcc using -L options.
if { [istarget "*-*-darwin*"] } {
- set cxxflags "-L../.libs -shared-libgcc -lgcj -liconv"
+ set cxxflags "-L../.libs -shared-libgcc -ljvm -liconv"
} else {
global LIBJAVA
if [info exists LIBJAVA] {
@@ -266,7 +266,7 @@
} else {
set libjava [libjava_find_lib libjava gcj]
}
- set cxxflags "$libjava -lgcj"
+ set cxxflags "$libjava -ljvm"
}
if { [istarget "*-*-solaris*"] } {