@ -39,8 +39,7 @@ termux_step_configure () {
elif [ $TERMUX_ARCH = "x86_64" ]; then
DEST_CPU="x64"
else
echo "Unsupported arch: $TERMUX_ARCH"
exit 1
termux_error_exit "Unsupported arch '$TERMUX_ARCH'"
fi
export GYP_DEFINES="host_os=linux"
@ -37,8 +37,7 @@ termux_step_configure () {
# See note above TERMUX_PKG_DEPENDS why we do not use a shared libuv.
@ -70,7 +70,7 @@ termux_step_post_massage () {
# Verify that desired modules have been included:
for module in _ssl bz2 zlib _curses _sqlite3; do
if [ ! -f lib/python${_MAJOR_VERSION}/lib-dynload/${module}.so ]; then
termux_error_exit "ERROR: Python module library $module not built"
termux_error_exit "Python module library $module not built"
done
}