Commit 901c6655 authored by Aaron Andersen's avatar Aaron Andersen

fix compilation issues with SDL_image and SDL_ttf

parent 9a9d2b66
......@@ -77,7 +77,7 @@ PKG_CHECK_MODULES([SDL_IMAGE],
[AC_MSG_ERROR([SDL_image not found! http://www.libsdl.org/projects/SDL_image])])])
AC_DEFINE([HAVE_LIBSDL_IMAGE],[1],[Define to 1 if you have the 'SDL_image' library])
CFLAGS="$CFLAGS $SDL_IMAGE"
CFLAGS="$CFLAGS $SDL_IMAGE_CFLAGS"
LIBS="$LIBS $SDL_IMAGE_LIBS"
......@@ -138,7 +138,7 @@ dnl Add freetype link "by hand" until mingw-cross-env takes care
dnl of this automatically
LIBS="-lfreetype $LIBS"
PKG_CHECK_MODULES([SDL_ttf],
PKG_CHECK_MODULES([SDL_TTF],
[SDL_ttf],
[],
[AC_MSG_NOTICE([SDL_ttf not located by pkg-config, checking with AC CHECK LIB:])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment