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.
This commit is contained in:
Tomasz Śniatowski 2008-07-04 00:37:57 +01:00
parent 1126f6daba
commit a0fa5d2ad6

View file

@ -275,7 +275,7 @@ for d in installdirs:
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