Update to SDL 2.0.14

This commit is contained in:
Cameron Gutman
2020-12-22 18:13:45 -06:00
parent cdd799a779
commit a7075f3127
2 changed files with 4 additions and 8 deletions

2
SDL2

Submodule SDL2 updated: 863c4bd26b...4b160ce2c8

View File

@@ -27,20 +27,16 @@ else
fi fi
# Build and install our SDL2 build # Build and install our SDL2 build
# Since we'll be linking statically, we need to use Libs.private instead of Libs, but
# there's no way to tell QMake to use the Libs.private section, so we have to replace
# Libs with Libs.private ourselves prior to installation.
cd /opt/SDL2 cd /opt/SDL2
./configure --enable-static --disable-shared --enable-video-kmsdrm --disable-video-rpi ./configure --enable-static --disable-shared --enable-video-kmsdrm --disable-video-rpi
make -j$(nproc) make -j$(nproc)
sed -i '/^Libs:/d' sdl2.pc
sed -i 's/Libs.private:/Libs:/g' sdl2.pc
cat sdl2.pc cat sdl2.pc
make install make install
# Build and install SDL_ttf # Build and install SDL_ttf
# For similar reasons to SDL2 above, we have to patch the pkgconfig file in order to # Since we'll be linking statically, we need to use Libs.private instead of Libs, but
# link with a static library. # there's no way to tell QMake to use the Libs.private section, so we have to replace
# Libs with Libs.private ourselves prior to installation.
cd /opt/SDL_ttf cd /opt/SDL_ttf
./configure --enable-static --disable-shared ./configure --enable-static --disable-shared
make -j$(nproc) make -j$(nproc)