[PATCH libXdmcp] Export only public API symbols

Cristian Rodríguez cristian.rodriguez at opensuse.org
Mon Dec 6 09:22:21 PST 2010


Signed-off-by: Cristian Rodríguez <cristian.rodriguez at opensuse.org>
---
 Makefile.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index c3b85aa..3da33e5 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -7,7 +7,7 @@ AM_CFLAGS = \
 	$(XDMCP_CFLAGS) \
 	$(CWARNFLAGS)
 
-libXdmcp_la_LDFLAGS = -version-number 6:0:0 -no-undefined
+libXdmcp_la_LDFLAGS = -export-symbols-regex '^Xdmcp.*' -version-number 6:0:0 -no-undefined
 libXdmcp_la_LIBADD = $(XDMCP_LIBS)
 libXdmcp_la_SOURCES = \
 	Array.c \
-- 
1.7.3.1



More information about the xorg-devel mailing list