libgpgme: handle argp-standalone
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Wed, 31 Jul 2013 18:59:46 +0000 (15:59 -0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 1 Aug 2013 15:17:26 +0000 (17:17 +0200)
commit5fb26d1bca4cffb207d10a452f1a4b590cc41543
treeb61b528ecf17e355491c517e9815dac3c9a0966e
parent3e56504d9f5eec801154664f985b4c189340e99d
libgpgme: handle argp-standalone

libgpgme has an internal implementation of argp parsing for when the
libc lacks such an implementation (i.e. uClibc).
However if it detects argp.h the internal implementation is disabled and
for a uClibc-based toolchain that breaks the build.
This happens when argp-standalone is installed since libgpgme never
tries to link to libargp.

Make it link against libargp, which also saves some target size. Fixes:
http://autobuild.buildroot.net/results/33c/33c5776d2b3f7fa276a27f7602eb71c4d77c7b62/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/libgpgme/libgpgme.mk