apr: fix cross build.

This commit is contained in:
Juan RP 2013-07-19 09:15:51 +02:00
parent 6fc261677b
commit 05c94235e1

View file

@ -17,6 +17,12 @@ long_desc="
that provides a predictable and consistent interface to underlying
platform-specific implementations."
if [ "$CROSS_BUILD" -a "$XBPS_TARGET_MACHINE" != "x86_64" ]; then
configure_args+=" ac_cv_sizeof_struct_iovec=8"
else
configure_args+=" ac_cv_sizeof_struct_iovec=16"
fi
apr-devel_package() {
depends="libuuid-devel apr>=${version}"
short_desc+=" - development files"