volume_key: fix cross build

This commit is contained in:
Andrew Benson 2018-03-05 23:03:42 -06:00 committed by Toyam Cox
parent c04ede30a8
commit d21ce7a2ac
1 changed files with 2 additions and 1 deletions

View File

@ -13,7 +13,8 @@ distfiles="http://releases.pagure.org/volume_key/volume_key-${version}.tar.xz"
checksum=450a54fe9bf56acec6850c1e71371d3e4913c9ca1ef0cdc3a517b4b6910412a6
if [ -n "$CROSS_BUILD" ]; then
hostmakedepends+=" python-devel"
hostmakedepends+=" python"
make_build_args+=" PYTHON_CPPFLAGS=-I${XBPS_CROSS_BASE}/usr/include/python2.7"
fi
volume_key-devel_package() {