fakeroot: fix build when libcap-dev is installed
authorRicardo Martincoski <ricardo.martincoski@gmail.com>
Mon, 4 Jan 2016 18:33:56 +0000 (16:33 -0200)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 4 Jan 2016 21:40:20 +0000 (22:40 +0100)
Fixes https://bugs.busybox.net/show_bug.cgi?id=8541

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/fakeroot/fakeroot.mk

index 837c2b9aae1e843bc0fd3d9de49786ce9a546604..168cd13a48807c82db03c104c029c9108027407a 100644 (file)
@@ -10,7 +10,10 @@ FAKEROOT_SITE = http://snapshot.debian.org/archive/debian/20141005T221953Z/pool/
 # Force capabilities detection off
 # For now these are process capabilities (faked) rather than file
 # so they're of no real use
-HOST_FAKEROOT_CONF_ENV = ac_cv_func_capset=no
+HOST_FAKEROOT_CONF_ENV = \
+       ac_cv_header_sys_capability_h=no \
+       ac_cv_func_capset=no
+
 FAKEROOT_LICENSE = GPLv3+
 FAKEROOT_LICENSE_FILES = COPYING