]> git.ipfire.org Git - thirdparty/libbsd.git/commitdiff
build: Add -no-undefined libtool flag
authorGuillem Jover <guillem@hadrons.org>
Tue, 11 Apr 2023 01:03:54 +0000 (03:03 +0200)
committerGuillem Jover <guillem@hadrons.org>
Mon, 17 Apr 2023 02:12:42 +0000 (04:12 +0200)
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

index 64a891855d1d7479b14d2620c9f763344ce524b0..b892ab8db0a4bfcaed850bbf89f9e288e1dda47e 100644 (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