apr: fix cross build.
This commit is contained in:
parent
6fc261677b
commit
05c94235e1
1 changed files with 6 additions and 0 deletions
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue