Skip to content

Commit 9711796

Browse files
committed
SDL2 on windows, we need to disable some compiler and linker options
1 parent 8db02d6 commit 9711796

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

configure.ac

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,8 +197,8 @@ if test ${enable_output_sdl:=yes} = yes; then
197197
AC_LANG_POP(C)
198198
fi
199199
dnl strip away options that would turn our application from console to a windows GUI application
200-
SDL_CFLAGS=`echo $SDL_CFLAGS |sed 's/-Dmain=SDL_main//g'`
201-
SDL_LIBS=`echo $SDL_LIBS | sed 's/-mwindows/-mconsole/g' 's/-lSDLmain//g' 's/-lSDL2main//g'`
200+
SDL_CFLAGS=`echo $SDL_CFLAGS |sed -e 's/-Dmain=SDL_main//g'`
201+
SDL_LIBS=`echo $SDL_LIBS | sed -e 's/-mwindows/-mconsole/g' -e 's/-lSDLmain//g' -e 's/-lSDL2main//g'`
202202
fi
203203

204204
# ALSA output

0 commit comments

Comments
 (0)