Author: ilor
Date: Fri Jul  4 01:37:57 2008
New Revision: 27708

URL: http://svn.gna.org/viewcvs/wesnoth?rev=27708&view=rev
Log:
add "z" lib in scons when building on win32, wesnoth won't compile for me 
without it. If it breaks building for someone else go ahead and remove it.

Modified:
    trunk/SConstruct

Modified: trunk/SConstruct
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/SConstruct?rev=27708&r1=27707&r2=27708&view=diff
==============================================================================
--- trunk/SConstruct (original)
+++ trunk/SConstruct Fri Jul  4 01:37:57 2008
@@ -275,7 +275,7 @@
     env[d] = os.path.join(env["prefix"], env[d])
 
 if env["PLATFORM"] == 'win32':
-    env.Append(LIBS = ["wsock32", "intl"], CXXFLAGS = ["-mthreads"], LINKFLAGS 
= ["-mthreads"])
+    env.Append(LIBS = ["wsock32", "intl", "z"], CXXFLAGS = ["-mthreads"], 
LINKFLAGS = ["-mthreads"])
 if env["PLATFORM"] == 'darwin':                        # Mac OS X
     env.Append(FRAMEWORKS = "Carbon")                  # Carbon GUI
 


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to