[vlc-commits] Fix fvisibility=hidden check on windows

Rafaël Carré git at videolan.org
Mon Nov 28 23:12:43 CET 2011


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Mon Nov 28 17:12:26 2011 -0500| [db00e97951a5a0859363f00b073136cd8a9675b7] | committer: Rafaël Carré

Fix fvisibility=hidden check on windows

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=db00e97951a5a0859363f00b073136cd8a9675b7
---

 configure.ac |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/configure.ac b/configure.ac
index d9d3f1c..ea90c64 100644
--- a/configure.ac
+++ b/configure.ac
@@ -879,11 +879,11 @@ AS_IF([test "${enable_coverage}" != "no"], [
   LDFLAGS="-lgcov ${LDFLAGS}"
 ])
 
-VLC_SAVE_FLAGS
-CFLAGS="${CFLAGS} -fvisibility=hidden"
-CXXFLAGS="${CXXFLAGS} -fvisibility=hidden"
-OBJCFLAGS="${OBJCFLAGS} -fvisibility=hidden"
 AS_IF([test "${SYS}" != "mingw32" -a "${SYS}" != "mingwce"], [
+  VLC_SAVE_FLAGS
+  CFLAGS="${CFLAGS} -fvisibility=hidden"
+  CXXFLAGS="${CXXFLAGS} -fvisibility=hidden"
+  OBJCFLAGS="${OBJCFLAGS} -fvisibility=hidden"
   AC_CACHE_CHECK([if $CC accepts -fvisibility=hidden],
                  [ac_cv_c_visibility_hidden], [
     AC_COMPILE_IFELSE([AC_LANG_PROGRAM()], [



More information about the vlc-commits mailing list