Commit 93f15e1e by Eric Botcazou Committed by Eric Botcazou

jni.exp (gcj_jni_invocation_test_one): Add libsocket to the libraries to link for Solaris.

	* testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
	libsocket to the libraries to link for Solaris.

From-SVN: r97130
parent 93079c81
2005-03-28 Eric Botcazou <ebotcazou@libertysurf.fr>
* testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
libsocket to the libraries to link for Solaris.
2005-03-28 Per Bothner <per@bothner.com>
* boehm.cc (_Jv_MarkObj): Don't follow null pointer to static field,
......@@ -21125,3 +21130,4 @@
* java/util/Date.java (parse): Fix a number of problems.
(skipParens): Remove no-longer-needed method.
......@@ -251,6 +251,10 @@ proc gcj_jni_invocation_test_one {file} {
set cxxflags "-L../.libs -lgcj"
}
if { [istarget "*-*-solaris*"] } {
lappend cxxflags "-lsocket"
}
if {! [gcj_jni_invocation_compile_c_to_binary $cfile $cxxflags]} {
# FIXME
return 0
......
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