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:
parent
93079c819b
commit
93f15e1e74
2 changed files with 10 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
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
|
||||
|
|
Loading…
Add table
Reference in a new issue