* testsuite/libjava.jni/jni.exp (gcj_jni_get_cxxflags_invocation): Add -shared-libgcc to cxxflags for *-*-solaris*. Remove -lsocket. From-SVN: r168549