summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon TURNEY <jon.turney@dronecode.org.uk>2010-10-26 16:21:28 +0100
committerKristian Høgsberg <krh@bitplanet.net>2010-10-26 14:11:38 -0400
commitf94a64cc08b47cdbfdfea5b5756340246fc391ed (patch)
treee8df318ca197566bab89205a8beeb061af901c2e
parent8d2c522f3156c3381d8530ce2346d1ec84fafe8d (diff)
downloadxorg-lib-libxkbcommon-f94a64cc08b47cdbfdfea5b5756340246fc391ed.tar.gz
Link with -no-undefined
Use -no-undefined to assure libtool that the libxkbcommon library has no unresolved symbols at link time, so that libtool will build a shared library on platforms require that all symbols are resolved when the library is linked. Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
-rw-r--r--src/Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 0159a6d..ed69b9d 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -5,6 +5,7 @@ AM_CFLAGS = $(X11_CFLAGS) $(CWARNFLAGS) $(XMALLOC_ZERO_CFLAGS)
lib_LTLIBRARIES = libxkbcommon.la
libxkbcommon_la_LIBADD = xkbcomp/libxkbcomp.la
+libxkbcommon_la_LDFLAGS = -no-undefined
libxkbcommon_la_SOURCES = \
XKBcommonint.h \
alloc.c \