diff --git a/NEWS b/NEWS index 53bdd6763..8ff962a14 100644 --- a/NEWS +++ b/NEWS @@ -5,6 +5,7 @@ ver 0.21.1 (not yet released) - ffmpeg: fix build failure with non-standard FFmpeg installation path * fix build failure on Linux-PowerPC * fix build failure on FreeBSD +* eliminate DLL dependencies on Windows ver 0.21 (2018/10/31) * configuration 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')