Hi all,
I'd like to build a Windows version of libintl without a dependency on libgcc_s_sjlj-1.dll.
I tried [1] to:
- specify static-libgcc in the LDFLAGS
- running configure with --enable-static='libgcc,libstdc++'
- running configure with --enable-static='libgcc,libstdc++' LDFLAGS='-static-libgcc -static-libstdc++'
but none of the above approaches solved the issue.
The only solution I'm aware of (found by k-takata [2]), is to patch gettext-runtime/intl/Makefile.in by replacing
LIBS = @LIBS@
with
LIBS = @LIBS@ -XCClinker -static-libgcc
but I'm pretty sure there's a better alternative I'm not aware of...
Any hint?
..
Michele
[1]
https://github.com/vim/vim-win32-installer/pull/20[2]
https://github.com/mlocati/gettext-iconv-windows/issues/8