[PATCH libxcwm 01/15] Link libxcwm with -no-undefined libtool flag

Jon TURNEY jon.turney at dronecode.org.uk
Mon Nov 5 14:43:55 PST 2012


"Use -no-undefined to assure libtool that the library has no unresolved symbols
at link time, so that libtool will build a shared library on platforms that
require that all symbols are resolved when the library is linked."

Signed-off-by: Jon TURNEY <jon.turney at dronecode.org.uk>
---
 src/libxcwm/Makefile.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/libxcwm/Makefile.am b/src/libxcwm/Makefile.am
index 19bf3aa..d2c9e37 100644
--- a/src/libxcwm/Makefile.am
+++ b/src/libxcwm/Makefile.am
@@ -3,7 +3,7 @@ AM_CFLAGS = $(XCB_CFLAGS) $(BASE_CFLAGS)
 
 INCLUDES = -I${top_srcdir}/include
 
-libxcwm_la_LDFLAGS = -version-number 0:0:0
+libxcwm_la_LDFLAGS = -version-number 0:0:0 -no-undefined
 
 libxcwm_la_LIBADD = $(XCB_LIBS)
 
-- 
1.7.9



More information about the xorg-devel mailing list