aboutsummaryrefslogtreecommitdiff
path: root/ares/Makefile.am
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2009-05-11 13:53:26 +0000
committerDaniel Stenberg <daniel@haxx.se>2009-05-11 13:53:26 +0000
commit468019e947c00cd1086c1a82622d797b85beff63 (patch)
tree86f74e9ce7e0b2a4e5d6954afa0a1f799080e4c8 /ares/Makefile.am
parent7e941baa262945c533fe3adc89b908917af6b65f (diff)
- Gregor Jasny made c-ares link with libtool 's -export-symbols-regex option to
only expose functions starting with ares_.
Diffstat (limited to 'ares/Makefile.am')
-rw-r--r--ares/Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/ares/Makefile.am b/ares/Makefile.am
index 47083f510..373669ca3 100644
--- a/ares/Makefile.am
+++ b/ares/Makefile.am
@@ -87,8 +87,9 @@ if NO_UNDEFINED
UNDEF = -no-undefined
endif
+EXPORT_SYMBOLS = -export-symbols-regex '^ares_[[:alnum:]].*'
-libcares_la_LDFLAGS = $(UNDEF) $(VER)
+libcares_la_LDFLAGS = $(UNDEF) $(VER) $(EXPORT_SYMBOLS)
# Makefile.inc provides the CSOURCES and HHEADERS defines
include Makefile.inc