Add CFLAGS -fvisibility=hidden also when ngspice executable
is made under LINUX: becomes effective when code models are made. Thus there is no longer any difference between code models made during compiling shared ngspice or standard ngspice.
This commit is contained in:
parent
d9d47bd823
commit
fe8126865a
|
|
@ -934,6 +934,9 @@ if test "x$enable_xspice" = xyes; then
|
|||
* )
|
||||
AC_DEFINE([IPC_UNIX_SOCKETS], [1], [Client-Server via socket.])
|
||||
XSPICEDLLIBS="-ldl"
|
||||
if test -z "$has_shared_module"; then
|
||||
CFLAGS="$CFLAGS -fvisibility=hidden"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
XSPICEINIT=""
|
||||
|
|
|
|||
Loading…
Reference in New Issue