From 0f13d99159cd9af7786e2cc356e2a9cbf699cc2e Mon Sep 17 00:00:00 2001 From: Matthieu Gautier Date: Thu, 4 Apr 2019 12:10:49 +0200 Subject: [PATCH] Remove unnecessary win32 libs. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It seems that those libraries are not needed (anymore ?). Even more, `msvcr100` makes `kiwix-serve` crash when printing messages on stdout/stderr. `msvcr100` lib is necessary for ICU, because the default mingw's `msvcr` doesn't provide `_free_locale` and `_create_locale`. Most recent versions of mingw fix this and we do not need them. On debian (travis CI) we use a old version of mingw and we need to force the use of `msvcr100`. --- kiwixbuild/platforms/win32.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kiwixbuild/platforms/win32.py b/kiwixbuild/platforms/win32.py index 10e2e20..83c57f4 100644 --- a/kiwixbuild/platforms/win32.py +++ b/kiwixbuild/platforms/win32.py @@ -6,10 +6,10 @@ from kiwixbuild._global import neutralEnv class Win32PlatformInfo(PlatformInfo): - extra_libs = ['-lwinmm', '-lws2_32', '-lshlwapi', '-lrpcrt4', '-lmsvcr100', '-liphlpapi'] build = 'win32' compatible_hosts = ['fedora', 'debian'] arch_full = 'i686-w64-mingw32' + extra_libs = ['-lwinmm', '-lshlwapi', '-lws2_32'] def get_cross_config(self): return {