Ensure DIST_DIR includes the CPU for OSX platforms

This commit is contained in:
T. Joseph Carter 2015-06-17 03:42:08 -07:00
parent 0e1aba00f0
commit 713438be02

View File

@ -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