[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: libposix

From: Bruce Korb
Subject: Re: libposix
Date: Mon, 4 Oct 2010 14:02:21 -0700

Hi Bruno,

On Mon, Oct 4, 2010 at 12:55 PM, Bruno Haible <address@hidden> wrote:
> $ for m in `./posix-modules` ; do ./gnulib-tool --extract-link-directive $m ; 
> done
> $(LTLIBICONV) when linking with libtool, $(LIBICONV) otherwise

It seems that ``--extract-link-directive'' thinks it is sending output
to a human.
Obviously, I can parse this output, but if it presumes a human reader,
someone could change the output in unpredictable ways.

Perhaps pay attention to "--libtool" and "--no-libtool" for it?
Such that this works for my purpose:

for m in $(posix-modules)
do gnulib-tool --libtool --extract-link-directive $m
done > libadd-list

It should also not be necessary to remove empty lines.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]