mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 15:43:49 +02:00
Haru: fix cross build
This commit is contained in:
parent
623f544c1f
commit
2510f84a7d
1 changed files with 5 additions and 0 deletions
|
@ -13,6 +13,11 @@ homepage="http://libharu.org/"
|
||||||
distfiles="https://github.com/libharu/libharu/archive/RELEASE_${version//./_}.tar.gz"
|
distfiles="https://github.com/libharu/libharu/archive/RELEASE_${version//./_}.tar.gz"
|
||||||
checksum=8f9e68cc5d5f7d53d1bc61a1ed876add1faf4f91070dbc360d8b259f46d9a4d2
|
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() {
|
pre_configure() {
|
||||||
make -f build.mk
|
make -f build.mk
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue