diff options
| author | 2014-10-03 15:51:43 +0200 | |
|---|---|---|
| committer | 2014-10-03 16:29:42 +0200 | |
| commit | 4c4bbd31f52845de70f5b828121eeea62f8b4514 (patch) | |
| tree | 6655c2eeba4a9865752523e68d73e982e8a0d515 /configure.ac | |
| parent | d335f9350eef7b0140a249f92b791dc88b2900e5 (diff) | |
| download | libimobiledevice-4c4bbd31f52845de70f5b828121eeea62f8b4514.tar.gz libimobiledevice-4c4bbd31f52845de70f5b828121eeea62f8b4514.tar.bz2 | |
Avoid exporting non-public symbols
Diffstat (limited to 'configure.ac')
| -rw-r--r-- | configure.ac | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 6e3e058..0e335f6 100644 --- a/configure.ac +++ b/configure.ac | |||
| @@ -188,9 +188,14 @@ else | |||
| 188 | building_debug_code=yes | 188 | building_debug_code=yes |
| 189 | fi | 189 | fi |
| 190 | 190 | ||
| 191 | AS_COMPILER_FLAGS(GLOBAL_CFLAGS, "-Wall -Wextra -Wmissing-declarations -Wredundant-decls -Wshadow -Wpointer-arith -Wwrite-strings -Wswitch-default -Wno-unused-parameter -fsigned-char") | 191 | AS_COMPILER_FLAGS(GLOBAL_CFLAGS, "-Wall -Wextra -Wmissing-declarations -Wredundant-decls -Wshadow -Wpointer-arith -Wwrite-strings -Wswitch-default -Wno-unused-parameter -fsigned-char -fvisibility=hidden") |
| 192 | AC_SUBST(GLOBAL_CFLAGS) | 192 | AC_SUBST(GLOBAL_CFLAGS) |
| 193 | 193 | ||
| 194 | case "$GLOBAL_CFLAGS" in | ||
| 195 | *-fvisibility=hidden*) | ||
| 196 | AC_DEFINE([HAVE_FVISIBILITY], [1], [Define if compiled with -fvisibility=hidden]) | ||
| 197 | esac | ||
| 198 | |||
| 194 | # check for large file support | 199 | # check for large file support |
| 195 | AC_SYS_LARGEFILE | 200 | AC_SYS_LARGEFILE |
| 196 | LFS_CFLAGS='' | 201 | LFS_CFLAGS='' |
