Commit 8f61036467428e6c00c0aef1943cd4e4b485a90a

Guillem Jover 2023-04-11T03:03:54

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.

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/src/Makefile.am b/src/Makefile.am
index 64a8918..b892ab8 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -59,6 +59,7 @@ libbsd_la_LIBADD = \
 	$(LIBBSD_LIBS) \
 	# EOL
 libbsd_la_LDFLAGS = \
+	-no-undefined \
 	-version-number $(LIBBSD_ABI) \
 	# EOL
 if HAVE_LINKER_VERSION_SCRIPT