uwsgi: disable python3 plugin on cross musl

This commit is contained in:
Eivind Uggedal 2015-08-06 07:00:12 +00:00
parent 86705147dc
commit 87a879edf7

View file

@ -13,8 +13,9 @@ checksum=75a7d3138cfa9cd81a760c2f8a43f3d80961edc8e4f27043dc1412206c926287
_libdir=usr/lib/uwsgi _libdir=usr/lib/uwsgi
subpackages="uwsgi-python uwsgi-python3.4"
case "$XBPS_TARGET_MACHINE" in case "$XBPS_TARGET_MACHINE" in
armv[67]l-musl) broken="http://build.voidlinux.eu/builders/armv7l-musl_builder/builds/2741/steps/shell_3/logs/stdio";; armv[67]l-musl) subpackages="uwsgi-python"
esac esac
pre_configure() { pre_configure() {
@ -45,8 +46,12 @@ do_build() {
_ldflags="$LDFLAGS -L${XBPS_CROSS_BASE}/lib/python3.4m _ldflags="$LDFLAGS -L${XBPS_CROSS_BASE}/lib/python3.4m
-L${XBPS_CROSS_BASE}/usr/lib" -L${XBPS_CROSS_BASE}/usr/lib"
fi fi
CFLAGS="$_cflags" LDFLAGS="$_ldflags" python3.4 uwsgiconfig.py \ case "$subpackages" in
--plugin plugins/python core python3 *uwsgi-python3.4*)
CFLAGS="$_cflags" LDFLAGS="$_ldflags" python3.4 uwsgiconfig.py \
--plugin plugins/python core python3
;;
esac
} }
do_install() { do_install() {