commit | 1ab3c2befeedf5bd891cfbe17cfef79c06e5079a | [log] [tgz] |
---|---|---|
author | Anthony G. Basile <blueness@gentoo.org> | Mon May 04 02:25:39 2015 +0300 |
committer | Mark Wielaard <mjw@redhat.com> | Mon May 04 15:56:13 2015 +0200 |
tree | e34cd57c43b8c4cb5e97bd3bb31096f29806814b | |
parent | 1ce4a45932cd01f0e8096f636adaa684b6f5c7cb [diff] |
Link against standalone argp library 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. Signed-off-by: Anthony G. Basile <blueness@gentoo.org> Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>