From 1dd3f8df211efcbce98cbe768d18044a78ff2451 Mon Sep 17 00:00:00 2001 From: Jon TURNEY Date: Tue, 22 Mar 2011 15:34:47 +0000 Subject: Link with -no-undefined 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 Acked-by: Julien Cristau Reviewed-by: Arnaud Fontaine --- image/Makefile.am | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.2.1