[Xcb] [PATCH xcb-util-keysyms] Link with -no-undefined

Jon TURNEY jon.turney at dronecode.org.uk
Tue Mar 22 08:34:48 PDT 2011


Use -no-undefined to assure libtool that the library has no unresolved
symbols at link time, so that libtool will build a shared library for
platforms require that all symbols are resolved when the library is linked.

Signed-off-by: Jon TURNEY <jon.turney at dronecode.org.uk>
---
 keysyms/Makefile.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/keysyms/Makefile.am b/keysyms/Makefile.am
index f7965ab..79e8caf 100644
--- a/keysyms/Makefile.am
+++ b/keysyms/Makefile.am
@@ -10,7 +10,7 @@ AM_CFLAGS = $(CWARNFLAGS)
 libxcb_keysyms_la_SOURCES = keysyms.c
 libxcb_keysyms_la_CPPFLAGS = $(XCB_CFLAGS)
 libxcb_keysyms_la_LIBADD = $(XCB_LIBS)
-libxcb_keysyms_la_LDFLAGS = -version-info 1:0:0
+libxcb_keysyms_la_LDFLAGS = -version-info 1:0:0 -no-undefined
 
 pkgconfig_DATA = xcb-keysyms.pc
 
-- 
1.7.4



More information about the Xcb mailing list