libtorrent-rasterbar: fix python bindings

Fixes #4771
This commit is contained in:
Michael Gehring 2016-09-15 19:53:05 +02:00
parent 645fbf5e38
commit e3a1995898

View file

@ -1,7 +1,7 @@
# Template file for 'libtorrent-rasterbar'
pkgname=libtorrent-rasterbar
version=1.1.1
revision=1
revision=2
build_style=gnu-configure
configure_args="--with-libgeoip --with-boost-libdir=${XBPS_CROSS_BASE}/usr/lib"
hostmakedepends="pkg-config intltool"
@ -15,6 +15,7 @@ checksum=f70c82367b0980460ef95aff3e117fd4a174477892d529beec434f74d615b31f
subpackages="libtorrent-rasterbar-devel"
CXXFLAGS="-std=c++11"
CFLAGS="-std=c++11" # FIXME: bindings/python doesn't use CXXFLAGS
if [ -z "$CROSS_BUILD" ]; then
configure_args+=" --enable-python-binding"