Static mingw windows build
This commit is contained in:
parent
2760a81b0b
commit
5429118f83
1 changed files with 6 additions and 4 deletions
|
@ -143,10 +143,12 @@ def configure(env):
|
||||||
mingw_prefix=""
|
mingw_prefix=""
|
||||||
|
|
||||||
if (env["force_32_bits"]!="no"):
|
if (env["force_32_bits"]!="no"):
|
||||||
env['OBJSUFFIX'] = ".32"+env['OBJSUFFIX']
|
env['OBJSUFFIX'] = ".32"+env['OBJSUFFIX']
|
||||||
env['LIBSUFFIX'] = ".32"+env['LIBSUFFIX']
|
env['LIBSUFFIX'] = ".32"+env['LIBSUFFIX']
|
||||||
env.Append(CCFLAGS=['-m32'])
|
env.Append(CCFLAGS=['-m32'])
|
||||||
env.Append(LINKFLAGS=['-m32'])
|
env.Append(LINKFLAGS=['-m32'])
|
||||||
|
env.Append(LINKFLAGS=['-static-libgcc'])
|
||||||
|
env.Append(LINKFLAGS=['-static-libstdc++'])
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue