[PATCH 1/6] Link against standalone argp library

Mark Wielaard mjw at redhat.com
Mon May 4 14:02:50 UTC 2015


On Mon, May 04, 2015 at 02:25:39AM +0300, Max Filippov wrote:
> From: "Anthony G. Basile" <blueness at gentoo.org>
> 
> argp is not part of POSIX standards and not provided by uClibc or
> some other standard C libraries.  However, it is possible to link
> against a breakout argp library.  One is provided at
> 
>     http://www.lysator.liu.se/~nisse/misc/
> 
> This patch tests if libc provides argp otherwise it adds the linker
> flag -largp where needed in the build system.

Thanks. Applied and pushed to master.
But anybody relying on this is on their own.
There is some risk of bit-rot in the test suite when more tests are
added that rely on the argp hepers. And as you know the current
implementation of standalone argp is buggy and needs at least your
isprint.

Cheers,

Mark


More information about the elfutils-devel mailing list