---
build-aux/ltmain.m4sh | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/build-aux/ltmain.m4sh b/build-aux/ltmain.m4sh
index 5ec111d..8cae2c3 100644
--- a/build-aux/ltmain.m4sh
+++ b/build-aux/ltmain.m4sh
@@ -5114,6 +5114,17 @@ func_mode_link ()
continue
;;
+ # OS/2 uses -Zxxx to specify OS/2-specific options
+ -Z*)
+ compiler_flags="$compiler_flags $arg"
+ func_append compile_command " $arg"
+ func_append finalize_command " $arg"
+ case $arg in
+ -Zlinker | -Zstack) prev=xcompiler;;
+ esac
+ continue
+ ;;
+
# Some other compiler flag.
-* | +*)
func_quote_for_eval "$arg"
--
1.7.3.2