diff options
-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 ;; *) |