[build] Link genmatch with $(LIBINTL)

Richard Biener rguenther@suse.de
Wed Oct 22 18:01:00 GMT 2014


On October 22, 2014 7:13:41 PM CEST, David Edelsohn <dje.gcc@gmail.com> wrote:
>I reported the same problem in a separate thread.
>
>On AIX it needs LIBINTL and LIBICONV.

I wonder what ends up linking those with Linux? Or is all the features available from glibc?

Fixed patch is OK.

Thanks,
Richard.

>Index: Makefile.in
>===================================================================
>--- Makefile.in (revision 216542)
>+++ Makefile.in (working copy)
>@@ -2520,7 +2520,7 @@
># These programs need libs over and above what they get from the above
>list.
> build/genautomata$(build_exeext) : BUILD_LIBS += -lm
>
>-build/genmatch$(build_exeext) : $(CPPLIB) $(LIBIBERTY) \
>+build/genmatch$(build_exeext) : $(CPPLIB) $(LIBIBERTY) $(LIBINTL)
>$(LIBICONV) \
>   $(BUILD_ERRORS) build/vec.o build/hash-table.o
>
> # These programs are not linked with the MD reader.
>
>
>Thanks, David




More information about the Gcc-patches mailing list