mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-02 19:02:57 +02:00
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
|
_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
|
||||||
|
case "$subpackages" in
|
||||||
|
*uwsgi-python3.4*)
|
||||||
CFLAGS="$_cflags" LDFLAGS="$_ldflags" python3.4 uwsgiconfig.py \
|
CFLAGS="$_cflags" LDFLAGS="$_ldflags" python3.4 uwsgiconfig.py \
|
||||||
--plugin plugins/python core python3
|
--plugin plugins/python core python3
|
||||||
|
;;
|
||||||
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue