summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell Rice2007-04-03 09:31:12 +0000
committerRussell Rice2007-04-03 09:31:12 +0000
commit37155e12929d38af0bce752edd9da474c7173367 (patch)
tree5775131a9c760d10daf806d143f50abf086c85d4
parentecc9922f86b8393d1d5b753293074790213b14dc (diff)
downloadchocolate-doom-37155e12929d38af0bce752edd9da474c7173367.tar.gz
chocolate-doom-37155e12929d38af0bce752edd9da474c7173367.tar.bz2
chocolate-doom-37155e12929d38af0bce752edd9da474c7173367.zip
Fix building with gcc 4.x
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 869
-rw-r--r--codeblocks/chocolate-doom.cbp1
-rw-r--r--codeblocks/chocolate-setup.cbp2
2 files changed, 2 insertions, 1 deletions
diff --git a/codeblocks/chocolate-doom.cbp b/codeblocks/chocolate-doom.cbp
index 361ce677..55c2bcb1 100644
--- 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" />
diff --git a/codeblocks/chocolate-setup.cbp b/codeblocks/chocolate-setup.cbp
index 1200e839..3511860f 100644
--- 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" />