1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-23 20:15:19 -07:00

Don't export symbols by default.

This commit is contained in:
Frank Denis 2013-04-24 08:46:39 -07:00
parent 18369c960f
commit e34aeffd3c

View File

@ -42,6 +42,9 @@ AS_IF([test "$cross_compiling" != no],
AC_DEFINE(CROSS_COMPILING, [1], [define if you are cross-compiling])
)
AX_CHECK_COMPILE_FLAG([-fvisibility=hidden],
[CFLAGS="$CFLAGS -fvisibility=hidden"])
case $host_os in
cygwin* | mingw* | pw32* | cegcc*) ;;
*)