Pārlūkot izejas kodu

build: check for -lSDL2_image_bmp-jpg-png as a fallback for -lSDL2_image.

legacy
Sam Hocevar pirms 4 gadiem
vecāks
revīzija
bdda5b37df
1 mainītis faili ar 3 papildinājumiem un 1 dzēšanām
  1. +3
    -1
      build/autotools/m4/lol-sdl.m4

+ 3
- 1
build/autotools/m4/lol-sdl.m4 Parādīt failu

@@ -91,7 +91,9 @@ if test "x${ac_cv_my_have_sdl}" = xno; then
[ac_cv_my_have_sdl_mixer="no"])
AC_CHECK_LIB(SDL2_image, main,
[SDLIMAGE_LIBS="${SDLIMAGE_LIBS} -lSDL2_image"],
[ac_cv_my_have_sdl_image="no"])
[AC_CHECK_LIB(SDL2_image_bmp-jpg-png, main,
[SDLIMAGE_LIBS="${SDLIMAGE_LIBS} -lSDL2_image_bmp-jpg-png"],
[ac_cv_my_have_sdl_image="no"])])
SDL_CFLAGS="${SDL_CFLAGS} ${SDLMIXER_CFLAGS} ${SDLIMAGE_CFLAGS}"
SDL_LIBS="${SDL_LIBS} ${SDLMIXER_LIBS} ${SDLIMAGE_LIBS}"
fi


Notiek ielāde…
Atcelt
Saglabāt