mirror of
https://github.com/void-linux/void-packages.git
synced 2025-09-09 05:23:02 +02:00
libplist: fix crosbuild
This commit is contained in:
parent
160599519b
commit
d1c59884df
1 changed files with 3 additions and 5 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'libplist'
|
# Template file for 'libplist'
|
||||||
pkgname=libplist
|
pkgname=libplist
|
||||||
version=2.0.0
|
version=2.0.0
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--disable-static"
|
configure_args="--disable-static"
|
||||||
hostmakedepends="automake libtool pkg-config python-devel python-Cython"
|
hostmakedepends="automake libtool pkg-config python-devel python-Cython"
|
||||||
|
@ -12,13 +12,11 @@ license="GPL-2, LGPL-2.1"
|
||||||
homepage="http://libimobiledevice.org/"
|
homepage="http://libimobiledevice.org/"
|
||||||
distfiles="http://www.libimobiledevice.org/downloads/${pkgname}-${version}.tar.bz2"
|
distfiles="http://www.libimobiledevice.org/downloads/${pkgname}-${version}.tar.bz2"
|
||||||
checksum=3a7e9694c2d9a85174ba1fa92417cfabaea7f6d19631e544948dc7e17e82f602
|
checksum=3a7e9694c2d9a85174ba1fa92417cfabaea7f6d19631e544948dc7e17e82f602
|
||||||
|
CPPFLAGS+=" -I${XBPS_CROSS_BASE}/usr/include/python2.7"
|
||||||
nocross="investigate why this works with aarch64 but not arm[67]"
|
LDFLAGS+=" -L${XBPS_CROSS_BASE}/usr/lib -lpython2.7"
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
sed -i 's,-L$(libdir),,g' cython/Makefile.am
|
sed -i 's,-L$(libdir),,g' cython/Makefile.am
|
||||||
export PYTHON_CPPFLAGS="-I${XBPS_CROSS_BASE}/usr/include/python2.7"
|
|
||||||
export PYTHON_LDFLAGS="-L${XBPS_CROSS_BASE}/usr/lib -lpython2.7"
|
|
||||||
autoreconf -fi
|
autoreconf -fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue