From a8bac4d4940cd7c7eeef85f3c618a78a274f0cb8 Mon Sep 17 00:00:00 2001 From: Simon Josefsson Date: Wed, 13 Jan 2021 14:38:20 +0100 Subject: [PATCH] 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. --- ChangeLog | 7 +++++++ doc/ld-output-def.texi | 3 ++- 2 files changed, 9 insertions(+), 1 deletion(-) 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 -- 2.39.5