File 0014-Add-missing-library-requirement-for-faulthandler-for.patch of Package mingw64-python3
From 6a57c54acf009e98ad29da2f00ca089adbd8c344 Mon Sep 17 00:00:00 2001
From: Ralf Habacker <ralf.habacker@freenet.de>
Date: Mon, 17 Oct 2022 19:43:24 +0200
Subject: [PATCH] Add missing library requirement for faulthandler for mingw
---
cmake/libpython/CMakeLists.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/cmake/libpython/CMakeLists.txt b/cmake/libpython/CMakeLists.txt
index 40d32f8..0dab8f4 100644
--- a/cmake/libpython/CMakeLists.txt
+++ b/cmake/libpython/CMakeLists.txt
@@ -443,6 +443,7 @@ if(UNIX)
endif()
if(WIN32 AND IS_PY3)
list(APPEND LIBPYTHON_TARGET_LIBRARIES ws2_32) # Required by signalmodule
+ list(APPEND LIBPYTHON_TARGET_LIBRARIES msvcr100) # Required by faulthandler
if(PY_VERSION VERSION_GREATER_EQUAL "3.5")
list(APPEND LIBPYTHON_TARGET_LIBRARIES version) # Required by sysmodule
endif()
--
2.34.1