[PATCH] Export only public API symbols

Cristian Rodríguez cristian.rodriguez at opensuse.org
Mon Dec 6 07:24:09 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 fd508da..744ee13 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -12,7 +12,7 @@ AM_CFLAGS = \
 
 INCLUDES = -I$(top_srcdir)/include
 
-libXRes_la_LDFLAGS = -version-number 1:0:0 -no-undefined
+libXRes_la_LDFLAGS = -export-symbols-regex '^XRes.*' -version-number 1:0:0 -no-undefined
 
 libXResincludedir = $(includedir)/X11/extensions
 libXResinclude_HEADERS = $(top_srcdir)/include/X11/extensions/XRes.h
-- 
1.7.3.1



More information about the xorg-devel mailing list