diff --git a/srcpkgs/gst-python/template b/srcpkgs/gst-python/template index fefd2c56b32..75b7d28467d 100644 --- a/srcpkgs/gst-python/template +++ b/srcpkgs/gst-python/template @@ -4,7 +4,7 @@ version=0.10.22 revision=8 lib32disabled=yes build_style=gnu-configure -configure_args="--disable-static" +configure_args="--disable-static --with-libpython-dir=${XBPS_CROSS_BASE}/usr/lib/python2.7/config" hostmakedepends="pkg-config python" makedepends="glib-devel python-devel pygtk-devel libxml2-devel gstreamer-devel gst-plugins-base-devel" @@ -17,10 +17,6 @@ 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