Fixed building with Cygwin (thanks Michael)
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40264
This commit is contained in:
parent
a7215581c7
commit
fbed922ce2
1 changed files with 2 additions and 2 deletions
|
@ -1994,8 +1994,8 @@ case "$target" in
|
||||||
SDL_CFLAGS="$SDL_CFLAGS -Dmain=SDL_main"
|
SDL_CFLAGS="$SDL_CFLAGS -Dmain=SDL_main"
|
||||||
case "$target" in
|
case "$target" in
|
||||||
*-*-cygwin*)
|
*-*-cygwin*)
|
||||||
CFLAGS="$CFLAGS -I/usr/include/mingw -DWIN32 -Uunix"
|
CFLAGS="$CFLAGS -I/usr/include/mingw -DWIN32 -Uunix -mno-cygwin"
|
||||||
SDL_CFLAGS="$SDL_CFLAGS -I/usr/include/mingw -DWIN32 -Uunix"
|
SDL_CFLAGS="$SDL_CFLAGS -I/usr/include/mingw -DWIN32 -Uunix -mno-cygwin"
|
||||||
LIBS="$LIBS -mno-cygwin"
|
LIBS="$LIBS -mno-cygwin"
|
||||||
SDL_LIBS="-lmingw32 -lSDLmain $SDL_LIBS -mwindows -mno-cygwin"
|
SDL_LIBS="-lmingw32 -lSDLmain $SDL_LIBS -mwindows -mno-cygwin"
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue