Displaying 1 result from an estimated 1 matches for "3bede12".
Did you mean:
3bbde1e
2015 Nov 26
0
opus: do not use visibility attributes when targetting windows
Seems like opun configury still enables visibility attributes when
targeting windows. The following patch disables that. (Relies on
the top-level AC_MINGW32 check, can possibly be done better.)
diff --git a/configure.ac b/configure.ac
index eabad3a..3bede12 100644
--- a/configure.ac
+++ b/configure.ac
@@ -759,14 +759,15 @@ saved_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -fvisibility=hidden"
AC_MSG_CHECKING([if ${CC} supports -fvisibility=hidden])
AC_COMPILE_IFELSE([AC_LANG_SOURCE([[char foo;]])],
[ AC_MSG_RESULT([yes]) ],
[ AC_...