summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon TURNEY <jon.turney@dronecode.org.uk>2011-03-22 15:34:46 +0000
committerArnaud Fontaine <arnau@debian.org>2011-03-26 16:39:49 +0900
commit4824b7dc328751dcfc48a3c2ae0f2be3df217ebd (patch)
treec014486ae9f78ba7d0e022679105661ea56b7433
parentfd626329982cc2766e5a85a75ea2800b7aa3f114 (diff)
downloadxcb-util-4824b7dc328751dcfc48a3c2ae0f2be3df217ebd.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--src/Makefile.am2
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 \