mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-26 10:40:45 +00:00
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
@ -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…
x
Reference in New Issue
Block a user