From e622e36f1f32641c66b28a0de95c75ae35f6ca05 Mon Sep 17 00:00:00 2001 From: NIIBE Yutaka Date: Tue, 16 May 2023 10:52:51 +0900 Subject: build: Sync to libtool from libgpg-error for 64-bit Windows. * build-aux/ltmain.hs: Update from libgpg-error. -- GnuPG-bug-id: 6484 Signed-off-by: NIIBE Yutaka --- build-aux/ltmain.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/build-aux/ltmain.sh b/build-aux/ltmain.sh index 77963a93..c3bcdc06 100644 --- a/build-aux/ltmain.sh +++ b/build-aux/ltmain.sh @@ -6766,6 +6766,11 @@ func_mode_link () elif test -n "$soname_spec"; then # bleh windows case $host in + x86_64-*mingw32*) + func_arith $current - $age + major=$func_arith_result + versuffix="6-$major" + ;; *cygwin* | mingw* | *cegcc*) func_arith $current - $age major=$func_arith_result @@ -7499,6 +7504,14 @@ func_mode_link () func_arith $current - $age major=$func_arith_result versuffix="-$major" + case $host in + x86_64-*mingw32*) + versuffix="6-$major" + ;; + *) + versuffix="-$major" + ;; + esac ;; *) -- cgit v1.2.1