[PATCH libXScrnSaver] Export only public API symbols
Cristian Rodríguez
cristian.rodriguez at opensuse.org
Mon Dec 6 07:27:39 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 aa923b1..e8c43a0 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -12,7 +12,7 @@ libXss_la_SOURCES = \
libXss_la_LIBADD = $(XSCRNSAVER_LIBS)
-libXss_la_LDFLAGS = -version-info 1:0:0 -no-undefined
+libXss_la_LDFLAGS = -export-symbols-regex '^XScreenSaver.*' -version-info 1:0:0 -no-undefined
libXScrnSaverincludedir = $(includedir)/X11/extensions
libXScrnSaverinclude_HEADERS = $(top_srcdir)/include/X11/extensions/scrnsaver.h
--
1.7.3.1
More information about the xorg-devel
mailing list