Fix build.
This commit is contained in:
parent
da71cfed5a
commit
2553d02698
@ -3,6 +3,10 @@ import os
|
|||||||
|
|
||||||
# Build the packing binary garbage.
|
# Build the packing binary garbage.
|
||||||
scpack = SM.Program(builder, 'scpack')
|
scpack = SM.Program(builder, 'scpack')
|
||||||
|
if scpack.compiler.cc.behavior == 'msvc':
|
||||||
|
scpack.compiler.linkflags.remove('/SUBSYSTEM:WINDOWS')
|
||||||
|
scpack.compiler.linkflags.append('/SUBSYSTEM:CONSOLE')
|
||||||
|
scpack.compiler.cxxflags.remove('/TP')
|
||||||
scpack.sources = ['scpack.c']
|
scpack.sources = ['scpack.c']
|
||||||
scpack = builder.Add(scpack)
|
scpack = builder.Add(scpack)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user