diff --git a/README_EN.md b/README_EN.md index e2092b7ad..32e32921d 100644 --- a/README_EN.md +++ b/README_EN.md @@ -167,6 +167,23 @@ Build artifacts will be outputted to `bin/targets` directory. ### If you are using WSL/WSL2 as your build environment + +WSL's `PATH` potentially contain Windows paths with spaces, which may cause compilation failure. Please add the following lines to your local environment profiles before compiling: + +```bash +# Update and reload your profile, ~/.bashrc for example. +cat << EOF >> ~/.bashrc +export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:$PATH" +EOF +source ~/.bashrc +``` +