Commit aba18924 authored by Max Kellermann's avatar Max Kellermann

win32/build.py: link libstdc++ and libcc statically

Fixes #404
parent aa6bef54
...@@ -5,6 +5,7 @@ ver 0.21.1 (not yet released) ...@@ -5,6 +5,7 @@ ver 0.21.1 (not yet released)
- ffmpeg: fix build failure with non-standard FFmpeg installation path - ffmpeg: fix build failure with non-standard FFmpeg installation path
* fix build failure on Linux-PowerPC * fix build failure on Linux-PowerPC
* fix build failure on FreeBSD * fix build failure on FreeBSD
* eliminate DLL dependencies on Windows
ver 0.21 (2018/10/31) ver 0.21 (2018/10/31)
* configuration * configuration
......
...@@ -62,7 +62,8 @@ class CrossGccToolchain: ...@@ -62,7 +62,8 @@ class CrossGccToolchain:
self.cxxflags = common_flags self.cxxflags = common_flags
self.cppflags = '-isystem ' + os.path.join(install_prefix, 'include') + \ self.cppflags = '-isystem ' + os.path.join(install_prefix, 'include') + \
' -DWINVER=0x0600 -D_WIN32_WINNT=0x0600' ' -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.libs = ''
self.is_arm = arch.startswith('arm') self.is_arm = arch.startswith('arm')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment