From 65969f499933cf821416881e7e5f9381f245b07f Mon Sep 17 00:00:00 2001 From: Matthieu Gautier Date: Mon, 23 Apr 2018 10:45:08 +0200 Subject: [PATCH] Add missing library in the list of libraries to link with in win32. Libaria2 use methods in `iphlpapi` on Windows. --- kiwixbuild/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kiwixbuild/__init__.py b/kiwixbuild/__init__.py index d1f3f37..0a89710 100644 --- a/kiwixbuild/__init__.py +++ b/kiwixbuild/__init__.py @@ -156,7 +156,7 @@ class TargetInfo: } return { 'root_path': root_paths[host], - 'extra_libs': ['-lwinmm', '-lws2_32', '-lshlwapi', '-lrpcrt4', '-lmsvcr90'], + 'extra_libs': ['-lwinmm', '-lws2_32', '-lshlwapi', '-lrpcrt4', '-lmsvcr90', '-liphlpapi'], 'extra_cflags': ['-DWIN32'], 'host_machine': { 'system': 'Windows',