diff options
author | Daniel Stenberg <daniel@haxx.se> | 2009-05-11 13:53:26 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2009-05-11 13:53:26 +0000 |
commit | 468019e947c00cd1086c1a82622d797b85beff63 (patch) | |
tree | 86f74e9ce7e0b2a4e5d6954afa0a1f799080e4c8 /ares | |
parent | 7e941baa262945c533fe3adc89b908917af6b65f (diff) | |
download | curl-468019e947c00cd1086c1a82622d797b85beff63.tar.gz |
- Gregor Jasny made c-ares link with libtool 's -export-symbols-regex option to
only expose functions starting with ares_.
Diffstat (limited to 'ares')
-rw-r--r-- | ares/CHANGES | 4 | ||||
-rw-r--r-- | ares/Makefile.am | 3 | ||||
-rw-r--r-- | ares/RELEASE-NOTES | 3 |
3 files changed, 8 insertions, 2 deletions
diff --git a/ares/CHANGES b/ares/CHANGES index 67b3fbb73..9c38233b4 100644 --- a/ares/CHANGES +++ b/ares/CHANGES @@ -1,5 +1,9 @@ Changelog for the c-ares project +* May 11 2009 (Daniel Stenberg) +- Gregor Jasny made c-ares link with libtool 's -export-symbols-regex option to + only expose functions starting with ares_. + * May 2 2009 (Yang Tse) - Use a build-time configured ares_socklen_t data type instead of socklen_t. 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 diff --git a/ares/RELEASE-NOTES b/ares/RELEASE-NOTES index 692b38224..6c6fb51aa 100644 --- a/ares/RELEASE-NOTES +++ b/ares/RELEASE-NOTES @@ -12,9 +12,10 @@ Fixed: o ares_parse_*_reply() functions now return ARES_EBADRESP instead of ARES_EBADNAME if the name in the response failed to decode + o only expose/export symbols starting with 'ares_' Thanks go to these friendly people for their efforts and contributions: - Phil Blundell, Japheth Cleaver + Phil Blundell, Japheth Cleaver, Yang Tse, Gregor Jasny Have fun! |