different symbol loader switch under solaris cc
This commit is contained in:
parent
ca8481d9fc
commit
1838ca96ff
20
configure.ac
20
configure.ac
|
|
@ -319,6 +319,14 @@ if test "x$with_ngshared" != x && test "x$with_ngshared" != xno ; then
|
|||
has_shcyg=true
|
||||
AC_CHECK_LIB([pthread], [pthread_create])
|
||||
;;
|
||||
*solaris* )
|
||||
if test "x$GCC" = xyes; then
|
||||
CFLAGS="$CFLAGS -fvisibility=hidden"
|
||||
else
|
||||
CFLAGS="$CFLAGS -xldscope=hidden"
|
||||
fi
|
||||
AC_CHECK_LIB([pthread], [pthread_create])
|
||||
;;
|
||||
*)
|
||||
CFLAGS="$CFLAGS -fvisibility=hidden"
|
||||
AC_CHECK_LIB([pthread], [pthread_create])
|
||||
|
|
@ -942,6 +950,18 @@ if test "x$enable_xspice" = xyes; then
|
|||
AC_DEFINE([IPC_UNIX_SOCKETS], [1], [Client-Server via socket.])
|
||||
XSPICEDLLIBS="-ldl"
|
||||
;;
|
||||
*solaris* )
|
||||
AC_DEFINE([IPC_UNIX_SOCKETS], [1], [Client-Server via socket.])
|
||||
XSPICEDLLIBS="-ldl"
|
||||
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.])
|
||||
XSPICEDLLIBS="-ldl"
|
||||
|
|
|
|||
Loading…
Reference in New Issue