Windows/CodeBlocks: Add -lmingw32 to linker options to fix "undefined reference to `WinMain@16'" error,

as suggested here: http://stackoverflow.com/questions/18115153/undefined-reference-to-winmain16-when-using-sdl

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1177 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
Eric Wasylishen 2015-03-02 03:13:53 +00:00
parent 2e792e917d
commit 5b008f218b
2 changed files with 2 additions and 0 deletions

View file

@ -44,6 +44,7 @@
<Add directory="..\SDL2\include" />
</Compiler>
<Linker>
<Add library="mingw32" />
<Add library="SDL2main" />
<Add library="SDL2" />
<Add library="vorbisfile" />

View file

@ -43,6 +43,7 @@
<Add directory="..\SDL\include" />
</Compiler>
<Linker>
<Add library="mingw32" />
<Add library="SDLmain" />
<Add library="SDL" />
<Add library="vorbisfile" />