[Xcb] [PATCH xcb-util-wm] Link with -no-undefined
Jon TURNEY
jon.turney at dronecode.org.uk
Tue Mar 22 08:34:50 PDT 2011
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 at dronecode.org.uk>
---
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
--
1.7.4
More information about the Xcb
mailing list