summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNIIBE Yutaka <gniibe@fsij.org>2023-05-16 10:56:11 +0900
committerNIIBE Yutaka <gniibe@fsij.org>2023-05-16 10:56:11 +0900
commit01c0185e63605ec7e0b9e90ca99ef9f435b67261 (patch)
tree76f7b09c70041c1c0cd9bfe49da2e9d7510dbc2c
parent33f9f0dec26df64e8184395eb6554ee379a87e3d (diff)
downloadlibgcrypt-01c0185e63605ec7e0b9e90ca99ef9f435b67261.tar.gz
build: Sync libtool from libgpg-error for 64-bit Windows.HEADmaster
* build-aux/ltmain.hs: Update from libgpg-error. -- GnuPG-bug-id: 6484 Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
-rw-r--r--build-aux/ltmain.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/build-aux/ltmain.sh b/build-aux/ltmain.sh
index 859599aa..f8c36143 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
;;
*)