uwsgi: disable python3 plugin on cross musl
This commit is contained in:
parent
86705147dc
commit
87a879edf7
1 changed files with 8 additions and 3 deletions
|
@ -13,8 +13,9 @@ checksum=75a7d3138cfa9cd81a760c2f8a43f3d80961edc8e4f27043dc1412206c926287
|
|||
|
||||
_libdir=usr/lib/uwsgi
|
||||
|
||||
subpackages="uwsgi-python uwsgi-python3.4"
|
||||
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
|
||||
|
||||
pre_configure() {
|
||||
|
@ -45,8 +46,12 @@ do_build() {
|
|||
_ldflags="$LDFLAGS -L${XBPS_CROSS_BASE}/lib/python3.4m
|
||||
-L${XBPS_CROSS_BASE}/usr/lib"
|
||||
fi
|
||||
CFLAGS="$_cflags" LDFLAGS="$_ldflags" python3.4 uwsgiconfig.py \
|
||||
--plugin plugins/python core python3
|
||||
case "$subpackages" in
|
||||
*uwsgi-python3.4*)
|
||||
CFLAGS="$_cflags" LDFLAGS="$_ldflags" python3.4 uwsgiconfig.py \
|
||||
--plugin plugins/python core python3
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
do_install() {
|
||||
|
|
Loading…
Reference in a new issue