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

Jon TURNEY jon.turney at dronecode.org.uk
Tue Mar 22 08:34:46 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>
---
 src/Makefile.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/Makefile.am b/src/Makefile.am
index 39ad3bf..13b5313 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -5,7 +5,7 @@ AM_CPPFLAGS = $(XCB_CFLAGS)
 AM_CFLAGS = $(CWARNFLAGS)
 
 libxcb_util_la_LIBADD = $(XCB_LIBS)
-libxcb_util_la_LDFLAGS = -version-info 0:0:0
+libxcb_util_la_LDFLAGS = -version-info 0:0:0 -no-undefined
 libxcb_util_la_SOURCES = \
 	atoms.c		\
 	event.c		\
-- 
1.7.4



More information about the Xcb mailing list