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:
parent
1126f6daba
commit
a0fa5d2ad6
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue