diff options
author | Peter Wu <peter@lekensteyn.nl> | 2014-11-06 01:32:42 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2014-11-10 09:06:48 +0100 |
commit | 7bdfdd09e4ed32eb1ec690087b29a2a4c3a066ca (patch) | |
tree | f572a7e6b817c3e41c27177c221a7154bc8e95a6 /tests/server/server_setup.h | |
parent | a5ad43afe876ab7928c3ace1277860c151aa6fa4 (diff) |
tests: fix libhostname visibility
I noticed that a patched cmake build would pass tests with a fake local
hostname, but the autotools build skips them:
got unexpected host name back, LD_PRELOAD failed
It turns out that -fvisibility=hidden hides the symbol, and since the
tests are not part of libcurl, it fails too. Just remove the LIBCURL
guard.
Broken since cURL 7.30 (commit 83a42ee20ea7fc25abb61c0b7ef56ebe712d7093,
"curl.h: stricter CURL_EXTERN linkage decorations logic").
Signed-off-by: Peter Wu <peter@lekensteyn.nl>
Diffstat (limited to 'tests/server/server_setup.h')
0 files changed, 0 insertions, 0 deletions