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
This commit is contained in:
Eric Botcazou 2005-03-28 14:08:28 +02:00 committed by Eric Botcazou
parent 93079c819b
commit 93f15e1e74
2 changed files with 10 additions and 0 deletions

View file

@ -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