libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

commit 87c2472e30f531df1faecbf483526cc3389f137b
parent bbe7aa94e0f3591dee30e39e81c81fe657f93eb7
Author: Christian Grothoff <christian@grothoff.org>
Date:   Mon, 22 Dec 2014 12:04:46 +0000

-fix #3584

Diffstat:
MChangeLog | 3+++
Mconfigure.ac | 5+++--
2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog @@ -1,3 +1,6 @@ +Mon Dec 22 13:02:36 CET 2014 + Fix generated compiler flags for Solaris Studio linker (#3584). -CG + Sat Dec 20 00:35:40 CET 2014 Adding MHD_http_unescape() to public API (#3585). -CG Updating documentation to document diff --git a/configure.ac b/configure.ac @@ -447,10 +447,11 @@ case "$host" in ;; *) dnl on other compilers, check if we can do -fvisibility=hidden - AX_CHECK_COMPILE_FLAG([-fvisibility=hidden], + AX_CHECK_LINK_FLAG([-fvisibility=hidden], + [AX_CHECK_COMPILE_FLAG([-fvisibility=hidden], [AC_DEFINE([_MHD_EXTERN], [__attribute__((visibility("default"))) extern], [defines how to decorate public symbols while building]) - HIDDEN_VISIBILITY_CFLAGS="-fvisibility=hidden"]) + HIDDEN_VISIBILITY_CFLAGS="-fvisibility=hidden"])]) ;; esac AC_SUBST(HIDDEN_VISIBILITY_CFLAGS)