libcap-ng: fix cross

Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
Jürgen Buchmüller 2018-08-22 16:56:32 +02:00
parent f4ff927a40
commit 1ad1f438b2
No known key found for this signature in database
GPG Key ID: 6764EC32352D0647
1 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@ pkgname=libcap-ng
version=0.7.9 version=0.7.9
revision=1 revision=1
build_style=gnu-configure build_style=gnu-configure
configure_args="--without-python" configure_args="--without-python --without-python3"
short_desc="An alternate POSIX capabilities library" short_desc="An alternate POSIX capabilities library"
maintainer="Juan RP <xtraeme@voidlinux.eu>" maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://people.redhat.com/sgrubb/libcap-ng/" homepage="http://people.redhat.com/sgrubb/libcap-ng/"
@ -16,7 +16,7 @@ subpackages="libcap-ng-devel libcap-ng-progs"
if [ -z "$CROSS_BUILD" ]; then if [ -z "$CROSS_BUILD" ]; then
subpackages+=" libcap-ng-python libcap-ng-python3" subpackages+=" libcap-ng-python libcap-ng-python3"
hostmakedepends="python-devel python3-devel swig" hostmakedepends="python-devel python3-devel swig"
configure_args+=" --with-python" configure_args+=" --with-python --with-python3"
fi fi
libcap-ng-devel_package() { libcap-ng-devel_package() {