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.
This commit is contained in:
Guillem Jover 2023-04-11 03:03:54 +02:00
parent ae7942ba6d
commit 8f61036467

View File

@ -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