From aba18924ee95422c1c7342e98a97d760ccaa31d6 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 4 Nov 2018 10:47:20 +0100 Subject: win32/build.py: link libstdc++ and libcc statically Fixes #404 --- win32/build.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'win32') 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') -- cgit v1.2.3