From 8d8ad10907241e69cb7a2db043a577e227580fc2 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sat, 31 May 2025 13:04:16 +0200 Subject: [PATCH] build: Tweak option for MSVC. Suggested by Kirill Makurin in . * gettext-tools/src/Makefile.am (xgettext_LDFLAGS): Use an MSVC option with '-' instead of '/', for resilience against the (unsupported) MSYS2. --- gettext-tools/src/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gettext-tools/src/Makefile.am b/gettext-tools/src/Makefile.am index 513996cab..7e9583035 100644 --- a/gettext-tools/src/Makefile.am +++ b/gettext-tools/src/Makefile.am @@ -568,7 +568,7 @@ endif # recursion depth of 1000, we need to increase the stack size. Cf. # . if PLATFORM_IS_MSVC -xgettext_LDFLAGS += -Wl,/F4000000 +xgettext_LDFLAGS += -Wl,-F4000000 endif # Linking with C++ libraries is needed _only_ on mingw and Cygwin. -- 2.47.3