diff --git a/srcpkgs/apr/template b/srcpkgs/apr/template index 502d34baaed..869dfcf5417 100644 --- a/srcpkgs/apr/template +++ b/srcpkgs/apr/template @@ -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"