[PATCH libFS] Export only public API symbols

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


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

diff --git a/src/Makefile.am b/src/Makefile.am
index 3333103..ed70165 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -35,7 +35,7 @@ libFS_la_LIBADD = $(FS_LIBS) $(XTRANS_LIBS)
 
 INCLUDES = -I$(top_srcdir)/include/X11/fonts
 
-libFS_la_LDFLAGS = -version-number 6:0:0 -no-undefined
+libFS_la_LDFLAGS = -export-symbols-regex '^FS.*' -version-number 6:0:0 -no-undefined
 
 libFSincludedir = $(includedir)/X11/fonts
 libFSinclude_HEADERS = \
-- 
1.7.3.1



More information about the xorg-devel mailing list