From 713438be020d5adee11ec6426c275bd1606634f7 Mon Sep 17 00:00:00 2001 From: "T. Joseph Carter" Date: Wed, 17 Jun 2015 03:42:08 -0700 Subject: [PATCH] Ensure DIST_DIR includes the CPU for OSX platforms --- libretro-super.sh | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) 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