link mingw libstdc++ and libgcc libs statically so users dont need mingw installed to use mingw builds

This commit is contained in:
Campbell Barton
2012-01-05 07:52:03 +00:00
parent 890c97ca40
commit b5ce2b028a
2 changed files with 7 additions and 1 deletions

View File

@@ -190,6 +190,9 @@ LLIBS = ['-lshell32', '-lshfolder', '-lgdi32', '-lmsvcrt', '-lwinmm', '-lmingw32
PLATFORM_LINKFLAGS = ['-Xlinker', '--stack=2097152']
# for re-distrobution, so users dont need mingw installed
PLATFORM_LINKFLAGS += ["-static-libgcc", "-static-libstdc++"]
BF_DEBUG = False
BF_DEBUG_CCFLAGS= ['-g', '-D_DEBUG']