aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--build-aux/libtool.patch22
-rw-r--r--build-aux/ltmain.sh2
-rw-r--r--configure.ac2
3 files changed, 13 insertions, 13 deletions
diff --git a/build-aux/libtool.patch b/build-aux/libtool.patch
index cc1340e..6dbaea6 100644
--- a/build-aux/libtool.patch
+++ b/build-aux/libtool.patch
@@ -19,8 +19,8 @@
elif test -n "$soname_spec"; then
# bleh windows
case $host in
-+ x86_64-*mingw32*)
-+ func_arith $current - $age
++ x86_64-*mingw32*)
++ func_arith $current - $age
+ major=$func_arith_result
+ versuffix="6-$major"
+ ;;
@@ -31,15 +31,15 @@
# 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
+- versuffix=-$major
++ case $host in
++ x86_64-*mingw32*)
++ versuffix="6-$major"
++ ;;
++ *)
++ versuffix="-$major"
++ ;;
++ esac
;;
*)
diff --git a/build-aux/ltmain.sh b/build-aux/ltmain.sh
index f495350..9b12fbb 100644
--- a/build-aux/ltmain.sh
+++ b/build-aux/ltmain.sh
@@ -9275,7 +9275,7 @@ func_mode_link ()
# extension on DOS 8.3 file systems.
func_arith $current - $age
major=$func_arith_result
- versuffix="-$major"
+ versuffix=-$major
;;
*)
diff --git a/configure.ac b/configure.ac
index 385ccf8..fa31cde 100644
--- a/configure.ac
+++ b/configure.ac
@@ -162,7 +162,7 @@ LT_LANG([Windows Resource])
case $host in
x86_64-*mingw32*)
AC_CONFIG_COMMANDS([libtool-patch],[[
- patch -p0 < $srcdir/build-aux/libtool.patch
+ patch -p0 < $srcdir/build-aux/libtool.patch || as_fn_exit 1
]])
;;
*)