summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2016-12-07 01:56:51 +0100
committerHaru <haru@dotalux.com>2016-12-07 01:56:51 +0100
commit5420eb80caeedfc7cb26c9f4d9507d29f4b989a6 (patch)
tree5c912d49292912a8cc96c9b4b745537ed8572384 /configure.ac
parente1453434af18b30119114077dfc52d27ad196cef (diff)
downloadhercules-5420eb80caeedfc7cb26c9f4d9507d29f4b989a6.tar.gz
hercules-5420eb80caeedfc7cb26c9f4d9507d29f4b989a6.tar.bz2
hercules-5420eb80caeedfc7cb26c9f4d9507d29f4b989a6.tar.xz
hercules-5420eb80caeedfc7cb26c9f4d9507d29f4b989a6.zip
Re-add -fvisibility=hidden on FreeBSD (necessary for plugins)
Related to 2ceb249879148be0fca7d81f31158eccf3142aa2, which removed the option since it didn't appear to be necessary on Linux or macOS. Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 34cbee61a..efe1f802e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1300,7 +1300,7 @@ Linux* )
LIBS="$LIBS -ldl"
;;
FreeBSD*)
- CPPFLAGS="$CPPFLAGS -D__FREEBSD__"
+ CPPFLAGS="$CPPFLAGS -D__FREEBSD__ -fvisibility=hidden"
;;
NetBSD*)
CPPFLAGS="$CPPFLAGS -D__NETBSD__"