From 8f61036467428e6c00c0aef1943cd4e4b485a90a Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Tue, 11 Apr 2023 03:03:54 +0200 Subject: [PATCH] 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. --- src/Makefile.am | 1 + 1 file changed, 1 insertion(+) 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