libtool: surrender to Debian's castrated libtool

The libtool version distributed by Debian is patched to *not* propagate
dependencies (i.e., if libA depends on libB, then linking against libA
will not automatically link against libB, it has to be explicit),
contrary to what the Libtool manual document.  So now we explicitly
link against both libA and libB in such case.

* configure.ac: Remove the workaround that does not work for
MinGW.
* doc/org/compile.org: Mention the issue.
* bin/Makefile.am, tests/Makefile.am, spot/ltsmin/Makefile.am,
spot/gen/Makefile.am, doc/org/g++wrap.in: Make the dependencies
explicit.
This commit is contained in:
Alexandre Duret-Lutz 2017-06-07 14:46:55 +02:00
parent 4de44b42de
commit 1042a8dae1
7 changed files with 18 additions and 14 deletions

View file

@ -25,7 +25,8 @@ AM_CXXFLAGS = $(WARNING_CXXFLAGS)
LDADD = \
libcommon.a \
$(top_builddir)/lib/libgnu.la \
$(top_builddir)/spot/libspot.la
$(top_builddir)/spot/libspot.la \
$(top_builddir)/buddy/src/libbddx.la
noinst_LIBRARIES = libcommon.a
libcommon_a_SOURCES = \