Skip to content

Commit

Permalink
Revert "Remove SDL 1.2"
Browse files Browse the repository at this point in the history
This reverts commit 700dfbf.
  • Loading branch information
felixhaedicke committed Mar 23, 2014
1 parent 38215b7 commit 5330063
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
10 changes: 10 additions & 0 deletions build-libs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,16 @@ make -j6 || exit $?
make install || exit $?
cd .. || exit $?

if [ "${TARGET_TYPE}" == "osx" ]
then
tar xzvf ../SDL-1.2.15.tar.gz || exit $?
cd SDL-1.2.15 || exit $?
./configure --host="${TARGET_TRIPLE}" --enable-static=yes --enable-shared=no --prefix="${PREFIX}" CC="${CC}" CXX="${CXX}" CFLAGS="${CFLAGS}" CXXFLAGS="${CFLAGS}" --enable-video-x11=no || exit $?
make -j6 || exit $?
make install || exit $?
cd .. || exit $?
fi

cd "${WORKING_DIR}"
rm -rf "${BUILD_TMP_DIR}"

1 change: 1 addition & 0 deletions download-libs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ rm -rf libcxxabi-rev201497 || exit $?
curl -L -O http:https://llvm.org/releases/3.4/libcxx-3.4.src.tar.gz || exit $?
curl -L -O http:https://download.savannah.gnu.org/releases/freetype/freetype-2.4.12.tar.gz || exit $?
curl -L -O http:https://sourceforge.net/projects/libjpeg-turbo/files/1.3.0/libjpeg-turbo-1.3.0.tar.gz || exit $?
curl -L -O http:https://www.libsdl.org/release/SDL-1.2.15.tar.gz || exit $?
curl -L -O http:https://libsdl.org/release/SDL2-2.0.3.tar.gz || exit $?
curl -L -O http:https://www.libsdl.org/projects/SDL_mixer/release/SDL2_mixer-2.0.0.tar.gz || exit $?
curl -L -O http:https://www.libsdl.org/projects/SDL_net/release/SDL2_net-2.0.0.tar.gz || exit $?
Expand Down

0 comments on commit 5330063

Please sign in to comment.