From: Bruno Haible Date: Sat, 31 May 2025 11:04:16 +0000 (+0200) Subject: build: Tweak option for MSVC. X-Git-Tag: v0.26~145 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8d8ad10907241e69cb7a2db043a577e227580fc2;p=thirdparty%2Fgettext.git 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. --- 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.