[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] lib-msvc-compat: Update libtool usage recommendation.
From: |
Simon Josefsson |
Subject: |
[PATCH] lib-msvc-compat: Update libtool usage recommendation. |
Date: |
Wed, 13 Jan 2021 14:44:11 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
Hi. I have pushed this, see background here:
https://lists.gnutls.org/pipermail/gnutls-devel/2016-October/008183.html
https://savannah.gnu.org/support/?107874
/Simon
From a8bac4d4940cd7c7eeef85f3c618a78a274f0cb8 Mon Sep 17 00:00:00 2001
From: Simon Josefsson <simon@josefsson.org>
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 4d313cf57..2123974c8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2021-01-13 Simon Josefsson <simon@josefsson.org>
+
+ 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 <bruno@clisp.org>
verify: Use C++11 static_assert when available.
diff --git a/doc/ld-output-def.texi b/doc/ld-output-def.texi
index 9c1ae8825..3e142fac7 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.20.1
signature.asc
Description: PGP signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH] lib-msvc-compat: Update libtool usage recommendation.,
Simon Josefsson <=