Closed
Description
I encountered an issue during ./android.py configure-host in a Docker container that failed the build:
error:
/bin/sh: 90: export: -I/cpython/cross-build/aarch64-linux-android/prefix/include: bad variable name
workaround: patch ./android-env.sh to fix the export
RUN sed -i 's/export CXXFLAGS=\$CFLAGS/export CXXFLAGS="\$CFLAGS"/' ./android-env.sh
Reference: Android/android-env.sh#L90