Commit 765a605ec4c5b2d48fba44846cbe8950f428104d

Michael Haubenwallner 2017-04-10T13:10:39

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>

1
2
3
4
5
6
7
8
9
10
11
12
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 = \