summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--extra/Makefile.am6
-rw-r--r--m4/hooks.m42
2 files changed, 5 insertions, 3 deletions
diff --git a/extra/Makefile.am b/extra/Makefile.am
index f9716e62c7..601bbae5aa 100644
--- a/extra/Makefile.am
+++ b/extra/Makefile.am
@@ -68,9 +68,9 @@ libgnutls_openssl_la_LIBADD += $(LIBSOCKET)
if HAVE_LD_OUTPUT_DEF
libgnutls_openssl_la_LDFLAGS += \
- -Wl,--output-def,libgnutls-openssl-$(DLL_VERSION).def
-libgnutls-openssl-$(DLL_VERSION).def: libgnutls-openssl.la
-defexec_DATA += libgnutls-openssl-$(DLL_VERSION).def
+ -Wl,--output-def,libgnutls-openssl-$(DLL_SSL_VERSION).def
+libgnutls-openssl-$(DLL_SSL_VERSION).def: libgnutls-openssl.la
+defexec_DATA += libgnutls-openssl-$(DLL_SSL_VERSION).def
endif
endif
diff --git a/m4/hooks.m4 b/m4/hooks.m4
index 925e43d1fd..1eba984402 100644
--- a/m4/hooks.m4
+++ b/m4/hooks.m4
@@ -64,6 +64,8 @@ AC_DEFUN([LIBGNUTLS_HOOKS],
# Used when creating the Windows libgnutls-XX.def files.
DLL_VERSION=`expr ${LT_CURRENT} - ${LT_AGE}`
AC_SUBST(DLL_VERSION)
+ DLL_SSL_VERSION=`expr ${LT_SSL_CURRENT} - ${LT_SSL_AGE}`
+ AC_SUBST(DLL_SSL_VERSION)
PKG_CHECK_MODULES(NETTLE, [nettle >= 3.1], [cryptolib="nettle"], [
AC_MSG_ERROR([[