diff options
author | 2024-01-31 02:57:11 +0100 | |
---|---|---|
committer | 2024-01-31 02:57:11 +0100 | |
commit | 63bbac545efc400373a7f472fdd78174149119c3 (patch) | |
tree | f95c8d58b7b0fbf33bd188c5becc0401ee7e64ef /configure.ac | |
parent | f723a44513eb5ba5797da24bc2b63d9f09600a6e (diff) | |
download | libimobiledevice-63bbac545efc400373a7f472fdd78174149119c3.tar.gz libimobiledevice-63bbac545efc400373a7f472fdd78174149119c3.tar.bz2 |
Move LIBIMOBILEDEVICE_API to public headers
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac index 4f3f901..0cebe0c 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -283,12 +283,12 @@ else | |||
283 | fi | 283 | fi |
284 | 284 | ||
285 | 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") | 285 | 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") |
286 | AC_SUBST(GLOBAL_CFLAGS) | ||
287 | 286 | ||
288 | case "$GLOBAL_CFLAGS" in | 287 | if test "x$enable_static" = "xyes" -a "x$enable_shared" = "xno"; then |
289 | *-fvisibility=hidden*) | 288 | GLOBAL_CFLAGS+=" -DLIBIMOBILEDEVICE_STATIC" |
290 | AC_DEFINE([HAVE_FVISIBILITY], [1], [Define if compiled with -fvisibility=hidden]) | 289 | fi |
291 | esac | 290 | |
291 | AC_SUBST(GLOBAL_CFLAGS) | ||
292 | 292 | ||
293 | # check for large file support | 293 | # check for large file support |
294 | AC_SYS_LARGEFILE | 294 | AC_SYS_LARGEFILE |