only expose functions starting with ares_.
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.
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
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!