From de9feb69ab957a2d28bb04777ecafcc3e486ba2b Mon Sep 17 00:00:00 2001 From: Esun Kim Date: Sun, 16 Feb 2020 18:27:22 -0800 Subject: [PATCH] Add dbghelp.lib to windows artifacts --- Makefile | 2 +- setup.py | 2 +- templates/Makefile.template | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 3750bdf78e7..a11f9dba1e2 100644 --- a/Makefile +++ b/Makefile @@ -410,7 +410,7 @@ LDFLAGS += -pthread endif ifeq ($(SYSTEM),MINGW32) -LIBS = m pthread ws2_32 +LIBS = m pthread ws2_32 dbghelp LDFLAGS += -pthread endif diff --git a/setup.py b/setup.py index c0ca62637c3..a1562c76a87 100644 --- a/setup.py +++ b/setup.py @@ -241,7 +241,7 @@ if "linux" in sys.platform: if not "win32" in sys.platform: EXTENSION_LIBRARIES += ('m',) if "win32" in sys.platform: - EXTENSION_LIBRARIES += ('advapi32', 'ws2_32',) + EXTENSION_LIBRARIES += ('advapi32', 'ws2_32', 'dbghelp',) if BUILD_WITH_SYSTEM_OPENSSL: EXTENSION_LIBRARIES += ('ssl', 'crypto',) if BUILD_WITH_SYSTEM_ZLIB: diff --git a/templates/Makefile.template b/templates/Makefile.template index 7fae035c1e4..815fac1ac5c 100644 --- a/templates/Makefile.template +++ b/templates/Makefile.template @@ -274,7 +274,7 @@ endif ifeq ($(SYSTEM),MINGW32) - LIBS = m pthread ws2_32 + LIBS = m pthread ws2_32 dbghelp LDFLAGS += -pthread endif