Haru: fix cross build

This commit is contained in:
Đoàn Trần Công Danh 2021-04-12 08:42:29 +07:00
parent 623f544c1f
commit 2510f84a7d

View file

@ -13,6 +13,11 @@ homepage="http://libharu.org/"
distfiles="https://github.com/libharu/libharu/archive/RELEASE_${version//./_}.tar.gz"
checksum=8f9e68cc5d5f7d53d1bc61a1ed876add1faf4f91070dbc360d8b259f46d9a4d2
if [ "$CROSS_BUILD" ]; then
configure_args="--with-zlib=${XBPS_CROSS_BASE}/usr"
configure_args+=" --with-png=${XBPS_CROSS_BASE}/usr"
fi
pre_configure() {
make -f build.mk
}