summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorCristian Rodríguez <cristian.rodriguez@opensuse.org>2010-11-15 20:31:25 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2010-11-15 20:31:25 +0100
commit37dac00e2ad6445f496e68fcf815723432ecb5a8 (patch)
tree9c97e3f99a1663970c578ad879903ced82277415 /configure.ac
parent485d30a8a89e7500b0df4291fa4dfc33b894998c (diff)
src: implement both GCC visibility support and export script
Read "How to write shared libraries" from Ulrich Drepper for more information on this patch. Specifically section 2.2: Export control and section 3: Maintaining APIs and ABIs. Signed-off-by: Cristian Rodríguez <cristian.rodriguez@opensuse.org> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
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 9281156..6373fab 100644
--- a/configure.ac
+++ b/configure.ac
@@ -10,7 +10,7 @@ AM_PROG_CC_C_O
AC_EXEEXT
AC_DISABLE_STATIC
LT_INIT
-
+gl_VISIBILITY
case $target in
*-*-linux*) ;;
*) AC_MSG_ERROR([Linux only, dude!]);;