Browse Source

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.
pre-master-46
Holger Vogt 8 years ago
parent
commit
fe8126865a
  1. 3
      configure.ac

3
configure.ac

@ -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…
Cancel
Save