aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2014-12-22 12:04:46 +0000
committerChristian Grothoff <christian@grothoff.org>2014-12-22 12:04:46 +0000
commit87c2472e30f531df1faecbf483526cc3389f137b (patch)
treee3538db4da90ccb167b8950bd7f31870a7fd827c
parentbbe7aa94e0f3591dee30e39e81c81fe657f93eb7 (diff)
downloadlibmicrohttpd-87c2472e30f531df1faecbf483526cc3389f137b.tar.gz
libmicrohttpd-87c2472e30f531df1faecbf483526cc3389f137b.zip
-fix #3584
-rw-r--r--ChangeLog3
-rw-r--r--configure.ac5
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 10e10053..3355ef30 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
1Mon Dec 22 13:02:36 CET 2014
2 Fix generated compiler flags for Solaris Studio linker (#3584). -CG
3
1Sat Dec 20 00:35:40 CET 2014 4Sat Dec 20 00:35:40 CET 2014
2 Adding MHD_http_unescape() to public API (#3585). -CG 5 Adding MHD_http_unescape() to public API (#3585). -CG
3 Updating documentation to document 6 Updating documentation to document
diff --git a/configure.ac b/configure.ac
index 0dfd0cbb..f72d3e13 100644
--- a/configure.ac
+++ b/configure.ac
@@ -447,10 +447,11 @@ case "$host" in
447 ;; 447 ;;
448 *) 448 *)
449 dnl on other compilers, check if we can do -fvisibility=hidden 449 dnl on other compilers, check if we can do -fvisibility=hidden
450 AX_CHECK_COMPILE_FLAG([-fvisibility=hidden], 450 AX_CHECK_LINK_FLAG([-fvisibility=hidden],
451 [AX_CHECK_COMPILE_FLAG([-fvisibility=hidden],
451 [AC_DEFINE([_MHD_EXTERN], [__attribute__((visibility("default"))) extern], 452 [AC_DEFINE([_MHD_EXTERN], [__attribute__((visibility("default"))) extern],
452 [defines how to decorate public symbols while building]) 453 [defines how to decorate public symbols while building])
453 HIDDEN_VISIBILITY_CFLAGS="-fvisibility=hidden"]) 454 HIDDEN_VISIBILITY_CFLAGS="-fvisibility=hidden"])])
454 ;; 455 ;;
455esac 456esac
456AC_SUBST(HIDDEN_VISIBILITY_CFLAGS) 457AC_SUBST(HIDDEN_VISIBILITY_CFLAGS)