Update to SDL 2.0.14
This commit is contained in:
2
SDL2
2
SDL2
Submodule SDL2 updated: 863c4bd26b...4b160ce2c8
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user