libsocket to the libraries to link for Solaris.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97130
138bc75d-0d04-0410-961f-
82ee72b054a4
+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,
* java/util/Date.java (parse): Fix a number of problems.
(skipParens): Remove no-longer-needed method.
+
set cxxflags "-L../.libs -lgcj"
}
+ if { [istarget "*-*-solaris*"] } {
+ lappend cxxflags "-lsocket"
+ }
+
if {! [gcj_jni_invocation_compile_c_to_binary $cfile $cxxflags]} {
# FIXME
return 0