apr: fix cross build.
This commit is contained in:
@@ -17,6 +17,12 @@ long_desc="
|
|||||||
that provides a predictable and consistent interface to underlying
|
that provides a predictable and consistent interface to underlying
|
||||||
platform-specific implementations."
|
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() {
|
apr-devel_package() {
|
||||||
depends="libuuid-devel apr>=${version}"
|
depends="libuuid-devel apr>=${version}"
|
||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
|
|||||||
Reference in New Issue
Block a user