libimobiledevice: hint large file support for cross

This commit is contained in:
Jürgen Buchmüller 2019-04-29 13:24:50 +02:00
parent 3dc0410901
commit 16cdacddab

View file

@ -5,17 +5,18 @@ revision=12
patch_args="-Np1"
build_style=gnu-configure
hostmakedepends="automake libtool pkg-config python-devel"
makedepends="python-devel libglib-devel libressl-devel libusb-devel libplist-devel libusbmuxd-devel"
short_desc="A library to communicate with Apple devices"
makedepends="python-devel libglib-devel libressl-devel libusb-devel
libplist-devel libusbmuxd-devel"
short_desc="Library to communicate with Apple devices"
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="GPL-2,LGPL-2.1"
homepage="http://www.libimobiledevice.org/"
distfiles="http://www.libimobiledevice.org/downloads/${pkgname}-${version}.tar.bz2"
checksum=786b0de0875053bf61b5531a86ae8119e320edab724fc62fe2150cc931f11037
case "$XBPS_TARGET_MACHINE" in
aarch64) configure_args="ac_cv_sys_file_offset_bits=yes ac_cv_sys_large_file=yes";;
esac
if [ "$CROSS_BUILD" ]; then
configure_args="ac_cv_sys_file_offset_bits=yes ac_cv_sys_large_file=yes"
fi
pre_configure() {
sed -i 's,SSLv3_,SSLv23_,g' src/idevice.c