diff --git a/scripts/build/termux_step_get_dependencies_python.sh b/scripts/build/termux_step_get_dependencies_python.sh index c79ee8902e964ac..6b1abb1b823ea1c 100644 --- a/scripts/build/termux_step_get_dependencies_python.sh +++ b/scripts/build/termux_step_get_dependencies_python.sh @@ -31,7 +31,7 @@ termux_step_get_dependencies_python() { # adding and setting values ​​to work properly with python modules export PYTHONPATH=$TERMUX_PYTHON_HOME/site-packages if [ "$TERMUX_ON_DEVICE_BUILD" = "false" ]; then - export PYTHONPATH+=":$TERMUX_PYTHON_CROSSENV_PREFIX/build/lib/python${TERMUX_PYTHON_VERSION}/site-packages" + export PYTHONPATH_MAINHOST="$PYTHONPATH:$TERMUX_PYTHON_CROSSENV_PREFIX/build/lib/python${TERMUX_PYTHON_VERSION}/site-packages" fi export PYTHON_SITE_PKG=$PYTHONPATH fi