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
1 changed files with 3 additions and 3 deletions
|
@ -12,9 +12,9 @@ distfiles="${KERNEL_SITE}/libs/security/linux-privs/libcap2/$pkgname-$version.ta
|
||||||
checksum=693c8ac51e983ee678205571ef272439d83afe62dd8e424ea14ad9790bc35162
|
checksum=693c8ac51e983ee678205571ef272439d83afe62dd8e424ea14ad9790bc35162
|
||||||
|
|
||||||
if [ "$CHROOT_READY" ]; then
|
if [ "$CHROOT_READY" ]; then
|
||||||
hostmakedepends="gperf"
|
hostmakedepends="perl"
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ -z "$CROSS_BUILD" ]; then
|
||||||
hostmakedepends+=" perl"
|
hostmakedepends+=" gperf"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue