Skip to content

Commit

Permalink
Update build-macosx-app-single.sh script.
Browse files Browse the repository at this point in the history
  • Loading branch information
DolceTriade committed Dec 5, 2018
1 parent 2b70fb3 commit edfba79
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions build-macosx-app-single.sh
Expand Up @@ -6,7 +6,7 @@ set -e
set -u set -u


# Dynamic libraries for inclusion in app bundle # Dynamic libraries for inclusion in app bundle
DEPS_VERSION=3 DEPS_VERSION=4
SDL2_VERSION=2.0.3 SDL2_VERSION=2.0.3
GLEW_VERSION=1.12.0 GLEW_VERSION=1.12.0
OPENAL_VERSION=1.16.0 OPENAL_VERSION=1.16.0
Expand Down Expand Up @@ -55,5 +55,6 @@ install -m 644 "${DEPS_PATH}/lib/libopenal.${OPENAL_VERSION}.dylib" "${DEST_PAT


# SDL is already compiled as a universal binary, just remove the headers # SDL is already compiled as a universal binary, just remove the headers
cp -a "${DEPS_PATH}/SDL2.framework" "${DEST_PATH}/Contents/MacOS/" cp -a "${DEPS_PATH}/SDL2.framework" "${DEST_PATH}/Contents/MacOS/"
rm -f "${DEST_PATH}/Contents/MacOS/SDL2.framework/Headers" rm -rf "${DEST_PATH}/Contents/MacOS/SDL2.framework/Headers"
rm -rf "${DEST_PATH}/Contents/MacOS/SDL2.framework/Versions/A/Headers" rm -rf "${DEST_PATH}/Contents/MacOS/SDL2.framework/Versions/A/Headers"
rm -rf "${DEST_PATH}/Contents/MacOS/SDL2.framework/Versions/Current/Headers"

0 comments on commit edfba79

Please sign in to comment.