Remove SDL_image and link against libpng directly

This commit is contained in:
Michael Martin
2019-08-10 12:33:03 -07:00
parent 18569ef896
commit 3e6f9cf5b1
6 changed files with 344 additions and 5 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ uqm_requirements()
# Libraries always used
use_library SDL 1.2.8 || exit 1
use_library SDL_image || exit 1
use_library libpng || exit 1
case "$HOST_SYSTEM" in
WINSCW|ARMV5|GCCE)
+12
View File
@@ -110,6 +110,18 @@ esac
LIB_SDL_image_VERSION=""
### libpng ###
LIB_libpng_NAME="libpng"
# libpng generally integrates with pkg-config, but that also generally
# only matters if we're building against a non-systemwide version. UQM
# should not need to do that.
#
# To link against a static libpng, set LDFLAGS with an appropriate -L
# argument before calling `build.sh uqm config`.
LIB_libpng_CFLAGS=""
LIB_libpng_LDFLAGS="-lpng"
### OpenAL ###
LIB_openal_NAME="OpenAL"
LIB_openal_CFLAGS=""