File 0005-Install-python-files-into-lib-python-mn-for-mingw.patch of Package mingw64-python3
From 818c4e7f60c6401483cd03ff4448a861f549dffb Mon Sep 17 00:00:00 2001
From: Ralf Habacker <ralf.habacker@freenet.de>
Date: Tue, 30 Aug 2022 15:17:04 +0200
Subject: [PATCH 05/12] Install python files into lib/python<mn> for mingw
---
CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 19a08bd..305281d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -436,7 +436,7 @@ if(USE_LIB64)
set(LIBDIR "lib64")
endif()
set(PYTHONHOME "${LIBDIR}")
-if(UNIX)
+if(UNIX OR MINGW)
set(PYTHONHOME "${PYTHONHOME}/${LIBPYTHON}")
endif()
--
2.35.3