On Thu, 2016-02-18 at 14:27 +0100, Niels Möller wrote: > Nikos Mavrogiannopoulos <[email protected]> writes: > > > The attached patch corrects the name used for the windows dlls. > > Patch didn't make it to the list. > > > With the current naming, it is not possible to update an existing > > version of nettle by dropping the new files in place and the patch > > fixes that. > > I don't have a clear idea about how it should work. It would be good > to document the intended dll naming scheme in configure.ac and/or the > manual.
The libtool approach is to give the major number only, e.g., libgnutls- 28.dll. Currently nettle 3.0 is libnettle-3-0.dll while 3.2 is libnettle-3-2.dll. That means that applications linked to libnettle-3- 0.dll will not use libnettle-3-2.dll if copied on the same directory. regards, Nikos
From 8b74c5e5fd85b5f08aeb24942605632e7a59a3ce Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos <[email protected]> Date: Thu, 18 Feb 2016 11:03:25 +0100 Subject: [PATCH] Corrected the name of the windows dll files The new name doesn't include the minor number and thus allows to replace with a minor update of the library. --- configure.ac | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index 3d804db..c41e453 100644 --- a/configure.ac +++ b/configure.ac @@ -576,12 +576,12 @@ case "$host_os" in # linking to the DLL, is installed into the lib dir. case "$host_os" in mingw32*) - LIBNETTLE_FORLINK='libnettle-$(LIBNETTLE_MAJOR)-$(LIBNETTLE_MINOR).dll' - LIBHOGWEED_FORLINK='libhogweed-$(LIBHOGWEED_MAJOR)-$(LIBHOGWEED_MINOR).dll' + LIBNETTLE_FORLINK='libnettle-$(LIBNETTLE_MAJOR).dll' + LIBHOGWEED_FORLINK='libhogweed-$(LIBHOGWEED_MAJOR).dll' ;; cygwin*) - LIBNETTLE_FORLINK='cygnettle-$(LIBNETTLE_MAJOR)-$(LIBNETTLE_MINOR).dll' - LIBHOGWEED_FORLINK='cyghogweed-$(LIBHOGWEED_MAJOR)-$(LIBHOGWEED_MINOR).dll' + LIBNETTLE_FORLINK='cygnettle-$(LIBNETTLE_MAJOR).dll' + LIBHOGWEED_FORLINK='cyghogweed-$(LIBHOGWEED_MAJOR).dll' ;; esac if test "x$cross_compiling" = xyes ; then -- 2.5.0
_______________________________________________ nettle-bugs mailing list [email protected] http://lists.lysator.liu.se/mailman/listinfo/nettle-bugs
