symbol visibility needed for codemodel loading if compiled by sun studio

This commit is contained in:
dwarning 2018-10-16 11:24:45 +02:00
parent 1838ca96ff
commit 383f1d14f1
1 changed files with 1 additions and 4 deletions

View File

@ -952,15 +952,12 @@ if test "x$enable_xspice" = xyes; then
;;
*solaris* )
AC_DEFINE([IPC_UNIX_SOCKETS], [1], [Client-Server via socket.])
XSPICEDLLIBS="-ldl"
XSPICEDLLIBS=""
if test -z "$has_shared_module"; then
if test "x$GCC" = xyes; then
CFLAGS="$CFLAGS -fvisibility=hidden"
else
CFLAGS="$CFLAGS -xldscope=hidden"
fi
fi
XSPICEDLLIBS=""
;;
* )
AC_DEFINE([IPC_UNIX_SOCKETS], [1], [Client-Server via socket.])