libcap: fix cross
This commit is contained in:
parent
e337a2111f
commit
83a6b2cf6f
|
@ -3,6 +3,7 @@ pkgname=libcap
|
|||
version=2.25
|
||||
revision=1
|
||||
bootstrap=yes
|
||||
hostmakedepends="perl"
|
||||
makedepends="attr-devel"
|
||||
short_desc="POSIX.1e capabilities suite"
|
||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||
|
@ -11,8 +12,8 @@ license="GPL-2"
|
|||
distfiles="${KERNEL_SITE}/libs/security/linux-privs/libcap2/$pkgname-$version.tar.xz"
|
||||
checksum=693c8ac51e983ee678205571ef272439d83afe62dd8e424ea14ad9790bc35162
|
||||
|
||||
if [ "$CHROOT_READY" ]; then
|
||||
hostmakedepends="gperf perl"
|
||||
if [ -z "$CROSS_BUILD" -a "$CHROOT_READY" ]; then
|
||||
hostmakedepends=" gperf"
|
||||
fi
|
||||
|
||||
do_configure() {
|
||||
|
|
Loading…
Reference in New Issue