gst-python: fix cross musl

This commit is contained in:
Jürgen Buchmüller 2015-09-11 16:23:52 +02:00
parent 12a92d73de
commit 640ed81634

View File

@ -1,7 +1,7 @@
# Template file for 'gst-python'.
pkgname=gst-python
version=0.10.22
revision=7
revision=8
lib32disabled=yes
build_style=gnu-configure
configure_args="--disable-static"
@ -17,6 +17,10 @@ homepage="http://gstreamer.freedesktop.org"
distfiles="$homepage/src/$pkgname/$pkgname-$version.tar.bz2"
checksum=8f26f519a5bccd770864317e098e5e307fc5ad1201eb96329634b6508b253178
if [ "$CROSS_BUILD" ]; then
configure_args+=" --with-libpython-dir=${XBPS_CROSS_BASE}/usr/lib/python2.7/config"
LDFLAGS="-L${XBPS_CROSS_BASE}/usr/lib"
fi
pre_configure() {
if [ "$CROSS_BUILD" ]; then
sed -i -e "s,PYTHON_INCLUDES=.*,PYTHON_INCLUDES=-I${XBPS_CROSS_BASE}/usr/include/python2.7,g" configure