diff --git a/libretro-super.sh b/libretro-super.sh index 37afeff6..69a5e637 100755 --- a/libretro-super.sh +++ b/libretro-super.sh @@ -202,7 +202,7 @@ case "$platform" in ARM=true export FORMAT_COMPILER_TARGET=armv export RARCHCFLAGS="$RARCHCFLAGS -marm" - case "${ARCH}" in + case "$ARCH" in armv5tel) ARMV5=true ;; armv6l) ARMV6=true ;; armv7l) ARMV7=true ;; @@ -230,7 +230,14 @@ case "$platform" in platform=osx FORMAT_EXT="dylib" FORMAT_COMPILER_TARGET="osx" - DIST_DIR="osx" + case "$ARCH" in + x86_64|i386|ppc*) + DIST_DIR="osx-$ARCH" + ;; + *) + DIST_DIR="osx-unknown" + ;; + esac ;; win|*mingw32*|*MINGW32*|*MSYS_NT*) platform=win