1
0
mirror of https://github.com/BLAKE2/libb2 synced 2024-11-26 13:03:50 +01:00

use -no-undefined flag with libtool

We need to tell libtool that we expect all symbols to be defined when
creating the library.  Otherwise, on platforms that do not support
undefined symbols, libtool does create the static library only.
This commit is contained in:
Michael Haubenwallner 2019-06-05 15:31:10 +02:00
parent 37062e55cc
commit 6540778e78

@ -17,6 +17,7 @@ LDFLAGS += -version-info $(B2_LIBRARY_VERSION)
lib_LTLIBRARIES = libb2.la
libb2_la_LIBADD = # -lgomp -lpthread
libb2_la_LDFLAGS = -no-undefined
libb2_la_CPPFLAGS = -DSUFFIX= \
$(LTDLINCL) \
${top_builddir}/src/