[PATCH libSM] Export only public API symbols
Cristian Rodríguez
cristian.rodriguez at opensuse.org
Mon Dec 6 07:19:12 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 1098679..d194d3f 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -6,7 +6,7 @@ if WITH_LIBUUID
AM_CFLAGS += $(LIBUUID_CFLAGS) -DHAVE_LIBUUID
endif
-libSM_la_LDFLAGS = -version-number 6:0:1 -no-undefined
+libSM_la_LDFLAGS = -export-symbols-regex "Sm.*" -version-number 6:0:1 -no-undefined
libSM_la_LIBADD = $(SM_LIBS) $(XTRANS_LIBS)
--
1.7.3.1
More information about the xorg-devel
mailing list