diff options
author | NIIBE Yutaka <[email protected]> | 2023-07-27 02:18:00 +0000 |
---|---|---|
committer | NIIBE Yutaka <[email protected]> | 2023-07-27 02:18:00 +0000 |
commit | ff2763c46c7a8f8f9f77f665060f1dc70e515e20 (patch) | |
tree | 8e8152973d70416c820fcc2078e0be45c5955de6 | |
parent | build: Update libtool from version 2.4.7. (diff) | |
download | libgpg-error-ff2763c46c7a8f8f9f77f665060f1dc70e515e20.tar.gz libgpg-error-ff2763c46c7a8f8f9f77f665060f1dc70e515e20.zip |
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 <[email protected]>
-rw-r--r-- | build-aux/ltmain.sh | 14 |
1 files changed, 13 insertions, 1 deletions
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 ;; *) |