From f5a0b136bc3aa8c12eea9dd149f43e8eab77a9f4 Mon Sep 17 00:00:00 2001 From: Jon TURNEY Date: Tue, 22 Mar 2011 15:34:50 +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 --- ewmh/Makefile.am | 2 +- icccm/Makefile.am | 2 +- 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 -- cgit v1.2.3