diff --git a/srcpkgs/Haru/template b/srcpkgs/Haru/template index 80db1e0e89..d1207b72b8 100644 --- a/srcpkgs/Haru/template +++ b/srcpkgs/Haru/template @@ -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 }