]> git.ipfire.org Git - thirdparty/gettext.git/commit
Fix test failure of autopoint-3 on Cygwin.
authorBruno Haible <bruno@clisp.org>
Wed, 23 Oct 2024 07:59:49 +0000 (09:59 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 23 Oct 2024 07:59:49 +0000 (09:59 +0200)
commit24bfd1666958acf4f63d0419a85099da4901fb80
tree26f1e273aa41ef7c3ec68b1ff74dbbe35d446d6e
parent6dd0270bf64255e2cc3c3a1926e91e52c2cfdf86
Fix test failure of autopoint-3 on Cygwin.

It was broken since commit "tests: Use libtool in autopoint-3 test" (2014-09-05):
The Makefile specified to link the 'hello' program without libtool
(and thus Automake generated a direct link command without libtool),
but the LDADD variable used @LTLIBINTL@. On Cygwin, this led to a use of
the -R option, which the compiler does not understand:
x86_64-pc-cygwin-gcc: error: unrecognized command line option â€˜-R’; did you mean â€˜-R’?

* gettext-tools/tests/autopoint-3: Don't invoke LT_INIT. Use @LIBINTL@,
not @LTLIBINTL@. Don't touch ltmain.sh.
gettext-tools/tests/autopoint-3