python: fix musl builds.
This commit is contained in:
parent
4d009b3f6a
commit
a4fd3a1646
|
@ -26,6 +26,7 @@ pre_configure() {
|
|||
}
|
||||
|
||||
do_configure() {
|
||||
local _args
|
||||
unset GCC CC CXX CPP LD AR AS RANLIB
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
mkdir -p host-build
|
||||
|
@ -36,8 +37,9 @@ do_configure() {
|
|||
mv python ../hostpython
|
||||
cd ..
|
||||
patch -Np0 -i ${FILESDIR}/Python-2.7.6-xcompile.patch
|
||||
_args="--build=${XBPS_MACHINE%%-musl}"
|
||||
fi
|
||||
./configure ${configure_args} --build=${XBPS_MACHINE}-unknown-linux-gnu \
|
||||
./configure ${configure_args} ${_args} \
|
||||
--with-threads --enable-ipv6 --with-signal-module \
|
||||
--with-system-ffi --enable-unicode=ucs4 --with-system-expat \
|
||||
--with-wctype-functions --enable-shared \
|
||||
|
|
Loading…
Reference in New Issue