This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Ping: [Patch] Fix binutils/bin2c dependence on libintl
- From: Tristan Gingold <gingold at adacore dot com>
- To: Binutils <binutils at sourceware dot org>
- Date: Mon, 25 Jan 2010 11:33:34 +0100
- Subject: Ping: [Patch] Fix binutils/bin2c dependence on libintl
- References: <CBA2DE95-7B08-47DF-9997-2EA021E71CCF@adacore.com>
Ping.
On Jan 14, 2010, at 10:34 AM, Tristan Gingold wrote:
> Hi,
>
> on my system (Darwin), bin2c fails to compile because of an hidden
> dependency on libintl. This patch fixes this issue.
>
> Tristan.
>
> binutils/
> 2010-01-14 Tristan Gingold <gingold@adacore.com>
>
> * Makefile.am (bin2c): Add libintl dependance and library.
> * Makefile.in: Regenerate.
> ---
> binutils/Makefile.am | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/binutils/Makefile.am b/binutils/Makefile.am
> index 873e568..16d900f 100644
> --- a/binutils/Makefile.am
> +++ b/binutils/Makefile.am
> @@ -273,8 +273,8 @@ sysinfo.o: sysinfo.c
> $(CC_FOR_BUILD) -c -I. $(AM_CFLAGS) $(CFLAGS_FOR_BUILD) $(NO_WERROR) $(srcdir)/sysinfo.c ; \
> fi
>
> -bin2c$(EXEEXT_FOR_BUILD):
> - $(CC_FOR_BUILD) -o $@ $(AM_CPPFLAGS) $(AM_CFLAGS) $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) $(srcdir)/bin2c.c $(srcdir)/version.c
> +bin2c$(EXEEXT_FOR_BUILD): $(LIBINTL_DEP)
> + $(CC_FOR_BUILD) -o $@ $(AM_CPPFLAGS) $(AM_CFLAGS) $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) $(srcdir)/bin2c.c $(srcdir)/version.c $(LIBINTL)
>
> embedspu: embedspu.sh
> sed "s@^program_transform_name=@program_transform_name=$(program_transform_name)@" < $< > $@
>