summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
Diffstat (limited to 'win32')
-rwxr-xr-xwin32/build.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/win32/build.py b/win32/build.py
index 32027a64b..0e09003fe 100755
--- a/win32/build.py
+++ b/win32/build.py
@@ -62,7 +62,8 @@ class CrossGccToolchain:
self.cxxflags = common_flags
self.cppflags = '-isystem ' + os.path.join(install_prefix, 'include') + \
' -DWINVER=0x0600 -D_WIN32_WINNT=0x0600'
- self.ldflags = '-L' + os.path.join(install_prefix, 'lib')
+ self.ldflags = '-L' + os.path.join(install_prefix, 'lib') + \
+ ' -static-libstdc++ -static-libgcc'
self.libs = ''
self.is_arm = arch.startswith('arm')