Remove SDL_image and link against libpng directly
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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=""
|
||||
|
||||
Reference in New Issue
Block a user