Fixed building using MinGW
Our SDL_windows.h needed to be included before anything else so UNICODE is defined.
This commit is contained in:
parent
bf877ba691
commit
a999af88e9
20 changed files with 62 additions and 38 deletions
2
test/configure
vendored
2
test/configure
vendored
|
@ -3452,7 +3452,7 @@ rm -f core conftest.err conftest.$ac_objext \
|
|||
rm -f conf.sdltest
|
||||
|
||||
CFLAGS="$CFLAGS $SDL_CFLAGS"
|
||||
LIBS="$LIBS $SDL_LIBS -lSDL2_test"
|
||||
LIBS="$LIBS -lSDL2_test $SDL_LIBS"
|
||||
|
||||
ac_ext=c
|
||||
ac_cpp='$CPP $CPPFLAGS'
|
||||
|
|
|
@ -86,7 +86,7 @@ AM_PATH_SDL2($SDL_VERSION,
|
|||
AC_MSG_ERROR([*** SDL version $SDL_VERSION not found!])
|
||||
)
|
||||
CFLAGS="$CFLAGS $SDL_CFLAGS"
|
||||
LIBS="$LIBS $SDL_LIBS -lSDL2_test"
|
||||
LIBS="$LIBS -lSDL2_test $SDL_LIBS"
|
||||
|
||||
dnl Check for X11 path, needed for OpenGL on some systems
|
||||
AC_PATH_X
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue