summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2013-06-05 08:17:43 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2013-06-05 20:58:30 +0200
commita7e8b6237458922f0a75103fb5c28e6fe713db7c (patch)
treee341852f63792527363eebb753bc59378659e9fa /package
parent11e9c455be3a0587fa434647800e7a3ce1bb2bf1 (diff)
downloadbuildroot-novena-a7e8b6237458922f0a75103fb5c28e6fe713db7c.tar.gz
buildroot-novena-a7e8b6237458922f0a75103fb5c28e6fe713db7c.zip
p11-kit: fix argp_standalone build error
When BR2_PACKAGE_ARGP_STANDALONE is enabled and built before p11-kit the configure script detects it and a conflict arises because libc already includes and defines program_invocation_short_name. Avoid this by forcing the detection to true otherwise the configure script tries to use argp-standalone and it clashes with libc. Fixes: http://autobuild.buildroot.net/results/a39/a39fe81a356b922a891d4225a56ce2427ab5bca7/ Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package')
-rw-r--r--package/p11-kit/p11-kit.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/p11-kit/p11-kit.mk b/package/p11-kit/p11-kit.mk
index 2ddb27c83..89774dcdf 100644
--- a/package/p11-kit/p11-kit.mk
+++ b/package/p11-kit/p11-kit.mk
@@ -9,6 +9,8 @@ P11_KIT_SITE = http://p11-glue.freedesktop.org/releases
P11_KIT_DEPENDENCIES = host-pkgconf libtasn1
P11_KIT_INSTALL_STAGING = YES
P11_KIT_CONF_OPT = --disable-static
+P11_KIT_CONF_ENV = ac_cv_have_decl_program_invocation_short_name=yes \
+ ac_cv_have_decl___progname=yes
P11_KIT_LICENSE = BSD-3c
P11_KIT_LICENSE_FILES = COPYING