summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon TURNEY <jon.turney@dronecode.org.uk>2011-03-22 15:34:47 +0000
committerArnaud Fontaine <arnau@debian.org>2011-03-26 16:42:13 +0900
commit1dd3f8df211efcbce98cbe768d18044a78ff2451 (patch)
tree917edcd3f54ffe0a936a453a4e88b7cf2da6686c
parenta11f24ba0b7cc1a0b99c01d0289a4f8420c698ec (diff)
downloadutil-image-1dd3f8df211efcbce98cbe768d18044a78ff2451.tar.gz
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 <jon.turney@dronecode.org.uk> Acked-by: Julien Cristau <jcristau@debian.org> Reviewed-by: Arnaud Fontaine <arnau@debian.org>
-rw-r--r--image/Makefile.am1
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