[Xcb] [PATCH xcb-util-renderutil] Link with -no-undefined
Jon TURNEY
jon.turney at dronecode.org.uk
Tue Mar 22 08:34:49 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>
---
renderutil/Makefile.am | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/renderutil/Makefile.am b/renderutil/Makefile.am
index aaf0f48..3bff67a 100644
--- a/renderutil/Makefile.am
+++ b/renderutil/Makefile.am
@@ -8,6 +8,7 @@ xcbinclude_HEADERS = xcb_renderutil.h
libxcb_render_util_la_SOURCES = cache.c util.c glyph.c
libxcb_render_util_la_CPPFLAGS = $(XCB_CFLAGS) $(XCB_RENDER_CFLAGS)
libxcb_render_util_la_LIBADD = $(XCB_LIBS) $(XCB_RENDER_LIBS)
+libxcb_render_util_la_LDFLAGS = -no-undefined
pkgconfig_DATA = xcb-renderutil.pc
--
1.7.4
More information about the Xcb
mailing list