shithub: choc

Download patch

ref: afd49cf2c6215c0b8a0590ccfc6ad2779e33157c
parent: 48fb43843c7fd3396709c0234e9bb32e18d28c3f
author: Russell Rice <[email protected]>
date: Wed Jan 16 09:41:07 EST 2008

Fix build
Remove unused libraries from certain projects

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

--- a/codeblocks/chocolate-server.cbp
+++ b/codeblocks/chocolate-server.cbp
@@ -39,7 +39,7 @@
 			<Add directory="..\textscreen" />
 		</Compiler>
 		<Linker>
-			<Add option="-lmingw32 -lSDLmain -lSDL -lSDL_mixer -lSDL_net -mwindows" />
+			<Add option="-lmingw32 -lSDLmain -lSDL -lSDL_net -mwindows" />
 		</Linker>
 		<Unit filename="..\src\d_dedicated.c">
 			<Option compilerVar="CC" />
@@ -90,6 +90,7 @@
 		<Extensions>
 			<code_completion />
 			<envvars />
+			<debugger />
 		</Extensions>
 	</Project>
 </CodeBlocks_project_file>
--- a/codeblocks/libpcsound.cbp
+++ b/codeblocks/libpcsound.cbp
@@ -7,7 +7,7 @@
 		<Option compiler="gcc" />
 		<Build>
 			<Target title="Debug">
-				<Option output="..\lib\libpcsound-dbg.a" prefix_auto="1" extension_auto="1" />
+				<Option output="..\lib\libpcsound-dbg" prefix_auto="1" extension_auto="1" />
 				<Option working_dir="" />
 				<Option object_output="..\obj\libpcsound\dbg" />
 				<Option type="2" />
@@ -17,7 +17,7 @@
 				</Compiler>
 			</Target>
 			<Target title="Release">
-				<Option output="..\lib\libpcsound.a" prefix_auto="1" extension_auto="1" />
+				<Option output="..\lib\libpcsound" prefix_auto="1" extension_auto="1" />
 				<Option working_dir="" />
 				<Option object_output="..\obj\libpcsound\release" />
 				<Option type="2" />
@@ -36,9 +36,10 @@
 		<Compiler>
 			<Add option="-Wall" />
 			<Add directory="." />
+			<Add directory="..\src" />
 		</Compiler>
 		<Linker>
-			<Add option="-lmingw32 -lSDLmain -lSDL -lSDL_mixer -lSDL_net -mwindows" />
+			<Add option="-lmingw32 -lSDLmain -lSDL -lSDL_mixer -mwindows" />
 		</Linker>
 		<Unit filename="..\pcsound\pcsound.c">
 			<Option compilerVar="CC" />
@@ -57,6 +58,7 @@
 		<Extensions>
 			<code_completion />
 			<envvars />
+			<debugger />
 		</Extensions>
 	</Project>
 </CodeBlocks_project_file>