openslp/openslp.visibility.diff

38 lines
867 B
Diff

--- ./libslp/Makefile.am.orig 2014-02-17 18:11:45.472239824 +0000
+++ ./libslp/Makefile.am 2014-02-17 18:12:27.793239750 +0000
@@ -57,5 +57,5 @@ noinst_HEADERS = \
libslp_la_LIBADD = ../common/libcommonlibslp.la
-libslp_la_LDFLAGS = -version-info 1:0:0
+libslp_la_LDFLAGS = -Wl,--version-script=$(srcdir)/libslp.map -version-info 1:0:0
--- ./libslp/libslp.map.orig 2014-02-17 18:13:11.931239671 +0000
+++ ./libslp/libslp.map 2014-02-17 18:11:45.472239824 +0000
@@ -0,0 +1,25 @@
+{
+global:
+ SLPAssociateIFList;
+ SLPAssociateIP;
+ SLPClose;
+ SLPDelAttrs;
+ SLPDereg;
+ SLPEscape;
+ SLPFindAttrs;
+ SLPFindScopes;
+ SLPFindSrvTypes;
+ SLPFindSrvs;
+ SLPFree;
+ SLPGetMDNSName;
+ SLPGetPeer;
+ SLPGetProperty;
+ SLPGetRefreshInterval;
+ SLPOpen;
+ SLPParseAttrs;
+ SLPParseSrvURL;
+ SLPReg;
+ SLPSetProperty;
+ SLPUnescape;
+local: *;
+};