build: Add -no-undefined libtool flag We have no need for undefined symbols, so we can let the shared library build even on systems without support for undefined symbols. [guillem@hadrons.org: - Place the option on its own line. - Slightly reword commit message. ] Signed-off-by: Guillem Jover <guillem@hadrons.org>
diff --git a/src/Makefile.am b/src/Makefile.am
index f2209e6..5fdcb8f 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -23,6 +23,7 @@ libmd_la_helper_sources = \
$(nil)
libmd_la_LDFLAGS = \
+ -no-undefined \
-Wl,--version-script=$(srcdir)/libmd.map \
-version-number $(LIBMD_ABI)
libmd_la_DEPENDENCIES = \