diff options
author | Christian Grothoff <christian@grothoff.org> | 2014-12-22 12:04:46 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2014-12-22 12:04:46 +0000 |
commit | 87c2472e30f531df1faecbf483526cc3389f137b (patch) | |
tree | e3538db4da90ccb167b8950bd7f31870a7fd827c | |
parent | bbe7aa94e0f3591dee30e39e81c81fe657f93eb7 (diff) | |
download | libmicrohttpd-87c2472e30f531df1faecbf483526cc3389f137b.tar.gz libmicrohttpd-87c2472e30f531df1faecbf483526cc3389f137b.zip |
-fix #3584
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | configure.ac | 5 |
2 files changed, 6 insertions, 2 deletions
@@ -1,3 +1,6 @@ | |||
1 | Mon Dec 22 13:02:36 CET 2014 | ||
2 | Fix generated compiler flags for Solaris Studio linker (#3584). -CG | ||
3 | |||
1 | Sat Dec 20 00:35:40 CET 2014 | 4 | Sat 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 | ;; |
455 | esac | 456 | esac |
456 | AC_SUBST(HIDDEN_VISIBILITY_CFLAGS) | 457 | AC_SUBST(HIDDEN_VISIBILITY_CFLAGS) |