libcap: fix hostmakedepends

hostmakedepends on perl when not bootstrapping and on gperf
when not cross compiling.
This commit is contained in:
Jürgen Buchmüller 2017-02-07 12:56:11 +01:00
parent a52cfa8ea1
commit 0a7032399b
1 changed files with 3 additions and 3 deletions

View File

@ -12,9 +12,9 @@ distfiles="${KERNEL_SITE}/libs/security/linux-privs/libcap2/$pkgname-$version.ta
checksum=693c8ac51e983ee678205571ef272439d83afe62dd8e424ea14ad9790bc35162
if [ "$CHROOT_READY" ]; then
hostmakedepends="gperf"
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" perl"
hostmakedepends="perl"
if [ -z "$CROSS_BUILD" ]; then
hostmakedepends+=" gperf"
fi
fi