]> granicus.if.org Git - curl/commitdiff
- Gregor Jasny made c-ares link with libtool 's -export-symbols-regex option to
authorDaniel Stenberg <daniel@haxx.se>
Mon, 11 May 2009 13:53:26 +0000 (13:53 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 11 May 2009 13:53:26 +0000 (13:53 +0000)
  only expose functions starting with ares_.

ares/CHANGES
ares/Makefile.am
ares/RELEASE-NOTES

index 67b3fbb73766d089b71f992c51197f11e838369d..9c38233b4e91ca0cb3689f2ae4db6fce9dc110e3 100644 (file)
@@ -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.
 
index 47083f51010cd9c447de586d008636217678ca65..373669ca30f451b2bcbdf3f2ead14d2798228307 100644 (file)
@@ -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
index 692b382246577b70f02f8c0fdeaffe6b0581a43d..6c6fb51aaf17a96f545396ac12ff4fced21e79b4 100644 (file)
@@ -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!