]> git.ipfire.org Git - thirdparty/gettext.git/commit
Fix compilation error on MSVC due to conflict of different stdlib.h files.
authorBruno Haible <bruno@clisp.org>
Thu, 5 Jun 2025 19:36:47 +0000 (21:36 +0200)
committerBruno Haible <bruno@clisp.org>
Thu, 5 Jun 2025 19:36:47 +0000 (21:36 +0200)
commitf96355e0ee7a74f0442b120b34056594ee8420d3
treeb5f2c978cd603ffb8e986a0b01438877a3116017
parent957ecb5ea6577361dfd0655b4862d8797df5eb2d
Fix compilation error on MSVC due to conflict of different stdlib.h files.

Reported by Kirill Makurin <maiddaisuki@outlook.com> in
<https://lists.gnu.org/archive/html/bug-gettext/2025-05/msg00071.html>.

* autogen.sh: Change gnulib-tool invocation for libgrep.
* gettext-tools/configure.ac (AC_CONFIG_FILES): Add libgrep/gnulib-lib/Makefile.
* gettext-tools/libgrep/Makefile.am: Don't include Makefile.gnulib.
(SUBDIRS): New variable.
(noinst_LIBRARIES): Add libgrep.a.
(AM_CPPFLAGS): Add -I options for gnulib-lib subdirectory.
(libgrep_a_DEPENDENCIES): New variable.
* gettext-tools/libgrep/gnulib-lib/Makefile.am: New file.
* gettext-tools/src/Makefile.am (LIBGREP): Add ../libgrep/gnulib-lib/libgnu.a.
.gitignore
autogen.sh
gettext-tools/configure.ac
gettext-tools/libgrep/Makefile.am
gettext-tools/libgrep/gnulib-lib/Makefile.am [new file with mode: 0644]
gettext-tools/src/Makefile.am