Commit 10053ea8 authored by Jan Gerber's avatar Jan Gerber
Browse files

tune windows build

parent b057c2e1
......@@ -183,7 +183,10 @@ if conf.CheckCHeader('iconv.h'):
if conf.CheckLib('iconv'):
env.Append(LIBS=['iconv'])
if env['static']:
if env['crossmingw']:
env.Append(CCFLAGS=['-Wl,-subsystem,windows'])
env.Append(LIBS=['m'])
elif env['static']:
env.Append(LIBS=['m', 'dl'])
env = conf.Finish()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment