[PATCH 2/9] add -no-undefined libtool flag

Michael Haubenwallner michael.haubenwallner at ssi-schaefer.com
Mon Apr 10 11:10:39 UTC 2017


We have no need for undefined symbols, so we can allow for shared
libraries even on systems without support for undefined symbols.
---
 src/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Makefile.am b/src/Makefile.am
index f2209e6..dc0d160 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -24,7 +24,7 @@ libmd_la_helper_sources = \
 
 libmd_la_LDFLAGS = \
 	-Wl,--version-script=$(srcdir)/libmd.map \
-	-version-number $(LIBMD_ABI)
+	-no-undefined -version-number $(LIBMD_ABI)
 libmd_la_DEPENDENCIES = \
 	libmd.map \
 	helper.c \
-- 
2.10.2



More information about the libbsd mailing list