diff --git a/libretro-config.sh b/libretro-config.sh index dffc37f4..90ca902e 100755 --- a/libretro-config.sh +++ b/libretro-config.sh @@ -17,7 +17,7 @@ case "$ARCH" in esac;; esac -if [[ -n "$PROCESSOR_ARCHITEW6432" ]] && $PROCESSOR_ARCHITEW6432="AMD64"; then +if [[ -n "$PROCESSOR_ARCHITEW6432" && $PROCESSOR_ARCHITEW6432 -eq "AMD64" ]]; then ARCH=x86_64 X86=true && X86_64=true fi