diff options
author | Max Kellermann <max@musicpd.org> | 2018-11-04 10:47:20 +0100 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2018-11-04 11:10:00 +0100 |
commit | aba18924ee95422c1c7342e98a97d760ccaa31d6 (patch) | |
tree | db8830f115e6ce92b029aec2fed6085871a5afdf /win32 | |
parent | aa6bef54dd086f1b30f1797a6b080651c5da82c9 (diff) |
win32/build.py: link libstdc++ and libcc statically
Fixes #404
Diffstat (limited to 'win32')
-rwxr-xr-x | win32/build.py | 3 |
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') |