winpthreads/libtool: apply 408cfb9 from mainstream libtool git
(cherry picked from commit 54a3822bfb39ddac3366a24c7e146d95ffbf33d9)
diff --git a/mingw-w64-libraries/winpthreads/build-aux/ltmain.sh b/mingw-w64-libraries/winpthreads/build-aux/ltmain.sh
index b891526..364b0d2 100644
--- a/mingw-w64-libraries/winpthreads/build-aux/ltmain.sh
+++ b/mingw-w64-libraries/winpthreads/build-aux/ltmain.sh
@@ -2039,7 +2039,12 @@
"
# Additional text appended to 'usage_message' in response to '--help'.
-long_help_message=$long_help_message"
+func_help ()
+{
+ $debug_cmd
+
+ func_usage_message
+ $ECHO "$long_help_message
MODE must be one of the following:
@@ -2070,6 +2075,8 @@
Report bugs to <bug-libtool@gnu.org>.
GNU libtool home page: <http://www.gnu.org/software/libtool/>.
General help using GNU software: <http://www.gnu.org/gethelp/>."
+ exit 0
+}
# func_lo2o OBJECT-NAME