summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon TURNEY <jon.turney@dronecode.org.uk>2011-03-22 15:34:50 +0000
committerArnaud Fontaine <arnau@debian.org>2011-03-26 16:48:16 +0900
commitf5a0b136bc3aa8c12eea9dd149f43e8eab77a9f4 (patch)
treeb9a90e1a45968e261cf50c8ed6251dcb5ba4398e
parentfa4118c9335a7ab4ad9dd9d0917ae02d97106e56 (diff)
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--ewmh/Makefile.am2
-rw-r--r--icccm/Makefile.am2
2 files changed, 2 insertions, 2 deletions
diff --git a/ewmh/Makefile.am b/ewmh/Makefile.am
index 42b3a40..235d5e4 100644
--- a/ewmh/Makefile.am
+++ b/ewmh/Makefile.am
@@ -9,7 +9,7 @@ AM_CFLAGS = $(CWARNFLAGS)
libxcb_ewmh_la_SOURCES = ewmh.c ewmh.c.m4 atomlist.m4 xcb_ewmh.h.m4
libxcb_ewmh_la_CPPFLAGS = $(XCB_CFLAGS) $(XPROTO_CFLAGS)
libxcb_ewmh_la_LIBADD = $(XCB_LIBS) $(XPROTO_LIBS)
-libxcb_ewmh_la_LDFLAGS = -version-info 1:0:0
+libxcb_ewmh_la_LDFLAGS = -version-info 1:0:0 -no-undefined
pkgconfig_DATA = xcb-ewmh.pc
diff --git a/icccm/Makefile.am b/icccm/Makefile.am
index f333384..15bdebb 100644
--- a/icccm/Makefile.am
+++ b/icccm/Makefile.am
@@ -10,7 +10,7 @@ AM_CFLAGS = $(CWARNFLAGS)
libxcb_icccm_la_SOURCES = icccm.c
libxcb_icccm_la_CPPFLAGS = $(XCB_CFLAGS) $(XPROTO_CFLAGS)
libxcb_icccm_la_LIBADD = $(XCB_LIBS) $(XPROTO_LIBS)
-libxcb_icccm_la_LDFLAGS = -version-info 4:0:0
+libxcb_icccm_la_LDFLAGS = -version-info 4:0:0 -no-undefined
pkgconfig_DATA = xcb-icccm.pc