From: Simon Josefsson Date: Wed, 13 Jan 2021 13:38:20 +0000 (+0100) Subject: lib-msvc-compat: Update libtool usage recommendation. X-Git-Tag: v1.0~3159 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=a8bac4d4940cd7c7eeef85f3c618a78a274f0cb8;p=gnulib.git lib-msvc-compat: Update libtool usage recommendation. * doc/ld-output-def.texi (Visual Studio Compatibility): Install .def files into libdir, not bindir. Have libfoo-*.def file depend on libfoo.la to fix parallell builds. --- diff --git a/ChangeLog b/ChangeLog index 4d313cf576..2123974c87 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2021-01-13 Simon Josefsson + + lib-msvc-compat: Update libtool usage recommendation. + * doc/ld-output-def.texi (Visual Studio Compatibility): Install + .def files into libdir, not bindir. Have libfoo-*.def file depend + on libfoo.la to fix parallell builds. + 2021-01-12 Bruno Haible verify: Use C++11 static_assert when available. diff --git a/doc/ld-output-def.texi b/doc/ld-output-def.texi index 9c1ae88255..3e142fac7b 100644 --- a/doc/ld-output-def.texi +++ b/doc/ld-output-def.texi @@ -49,7 +49,8 @@ library: @smallexample if HAVE_LD_OUTPUT_DEF libfoo_la_LDFLAGS += -Wl,--output-def,libfoo-$(DLL_VERSION).def -defexecdir = $(bindir) +libfoo-$(DLL_VERSION).def: libfoo.la +defexecdir = $(libdir) defexec_DATA = libfoo-$(DLL_VERSION).def DISTCLEANFILES += $(defexec_DATA) endif