shithub: choc

Download patch

ref: 37155e12929d38af0bce752edd9da474c7173367
parent: ecc9922f86b8393d1d5b753293074790213b14dc
author: Russell Rice <[email protected]>
date: Tue Apr 3 05:31:12 EDT 2007

Fix building with gcc 4.x

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 869

--- a/codeblocks/chocolate-doom.cbp
+++ b/codeblocks/chocolate-doom.cbp
@@ -43,6 +43,7 @@
 		</Compiler>
 		<Linker>
 			<Add option="-lpcsound -ltextscreen -lmingw32 -lSDLmain -lSDL -lSDL_mixer -lSDL_net -mwindows" />
+			<Add directory="..\lib" />
 		</Linker>
 		<Unit filename="chocolate-doom-res.rc">
 			<Option compilerVar="WINDRES" />
--- a/codeblocks/chocolate-setup.cbp
+++ b/codeblocks/chocolate-setup.cbp
@@ -43,7 +43,7 @@
 		</Compiler>
 		<Linker>
 			<Add option="-ltextscreen -lmingw32 -lSDLmain -lSDL -mwindows" />
-			<Add directory="..\bin" />
+			<Add directory="..\lib" />
 		</Linker>
 		<Unit filename="chocolate-setup-res.rc">
 			<Option compilerVar="WINDRES" />