libcap: fix hostmakedepends
hostmakedepends on perl when not bootstrapping and on gperf when not cross compiling.
This commit is contained in:
parent
a52cfa8ea1
commit
0a7032399b
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue