From ff2763c46c7a8f8f9f77f665060f1dc70e515e20 Mon Sep 17 00:00:00 2001 From: NIIBE Yutaka Date: Thu, 27 Jul 2023 11:18:00 +0900 Subject: build: Recover the local change for libtool. * ltmain.sh: Prefix the SO number for W64 with a "6". -- Forward port our local change of commit: ca46b9a7bccb2eab085fc45722ffca1210f48223 Signed-off-by: NIIBE Yutaka --- build-aux/ltmain.sh | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/build-aux/ltmain.sh b/build-aux/ltmain.sh index 9b12fbb..ab1b7dc 100644 --- a/build-aux/ltmain.sh +++ b/build-aux/ltmain.sh @@ -8497,6 +8497,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* | *os2*) func_arith $current - $age major=$func_arith_result @@ -9275,7 +9280,14 @@ func_mode_link () # extension on DOS 8.3 file systems. 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.3