Merge pull request #1574

new-script-api^2^2
scrawl 7 years ago
commit 58de366c21
No known key found for this signature in database
GPG Key ID: 2E6CC3676024C402

@ -350,9 +350,9 @@ if [ -z $SKIP_DOWNLOAD ]; then
fi fi
# SDL2 # SDL2
download "SDL 2.0.4" \ download "SDL 2.0.7" \
"https://www.libsdl.org/release/SDL2-devel-2.0.4-VC.zip" \ "https://www.libsdl.org/release/SDL2-devel-2.0.7-VC.zip" \
"SDL2-2.0.4.zip" "SDL2-2.0.7.zip"
fi fi
cd .. #/.. cd .. #/..
@ -632,18 +632,18 @@ cd $DEPS
echo echo
# SDL2 # SDL2
printf "SDL 2.0.4... " printf "SDL 2.0.7... "
{ {
if [ -d SDL2-2.0.4 ]; then if [ -d SDL2-2.0.7 ]; then
printf "Exists. " printf "Exists. "
elif [ -z $SKIP_EXTRACT ]; then elif [ -z $SKIP_EXTRACT ]; then
rm -rf SDL2-2.0.4 rm -rf SDL2-2.0.7
eval 7z x -y SDL2-2.0.4.zip $STRIP eval 7z x -y SDL2-2.0.7.zip $STRIP
fi fi
export SDL2DIR="$(real_pwd)/SDL2-2.0.4" export SDL2DIR="$(real_pwd)/SDL2-2.0.7"
add_runtime_dlls "$(pwd)/SDL2-2.0.4/lib/x${ARCHSUFFIX}/SDL2.dll" add_runtime_dlls "$(pwd)/SDL2-2.0.7/lib/x${ARCHSUFFIX}/SDL2.dll"
echo Done. echo Done.
} }

Loading…
Cancel
Save