[PATCH libfontenc] Export only public API symbols

Cristian Rodríguez cristian.rodriguez at opensuse.org
Mon Dec 6 08:56:49 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 96d0a38..d4d613a 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -17,7 +17,7 @@ INCLUDES = -I$(top_srcdir)/include $(FONTENCDEFS)
 
 libfontenc_la_LIBADD = @FONTENC_LIBS@
 
-libfontenc_la_LDFLAGS = -version-number 1:0:0 -no-undefined
+libfontenc_la_LDFLAGS = -export-symbols-regex '^Font.*' -version-number 1:0:0 -no-undefined
 
 libfontencincludedir = $(includedir)/X11/fonts
 libfontencinclude_HEADERS = \
-- 
1.7.3.1



More information about the xorg-devel mailing list