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

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

diff --git a/image/Makefile.am b/image/Makefile.am
index fbb4176..28ada22 100644
--- a/image/Makefile.am
+++ b/image/Makefile.am
@@ -11,6 +11,7 @@ XCB_IMAGE_LIBS = libxcb-image.la
 libxcb_image_la_SOURCES = xcb_image.c
 libxcb_image_la_CPPFLAGS = $(XCB_CFLAGS) $(XCB_SHM_CFLAGS) $(XCB_UTIL_CFLAGS)
 libxcb_image_la_LIBADD = $(XCB_LIBS) $(XCB_SHM_LIBS) $(XCB_UTIL_LIBS)
+libxcb_image_la_LDFLAGS = -no-undefined
 
 pkgconfig_DATA = xcb-image.pc
 
-- 
1.7.4



More information about the Xcb mailing list