Files
MINGW-packages/mingw-w64-python/0115-Define-PY3_DLLNAME-to-fix-build.patch
2023-02-10 12:56:41 +01:00

27 lines
842 B
Diff

From 97c057c9676ed95d2a2f192406bfa7c5b078da6c Mon Sep 17 00:00:00 2001
From: Naveen M K <naveen521kk@gmail.com>
Date: Tue, 12 Oct 2021 18:35:21 +0530
Subject: [PATCH 115/N] Define PY3_DLLNAME to fix build
PY3_DLLNAME is used in Python/pathconfig.c but isn't
defined. I guess it is useless but it will fix the build.
Co-authored-by: jeremyd2019 <github@jdrake.com>
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index f0ba5be..5113f95 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3989,7 +3989,7 @@ then
*-*-mingw*)
DYNLOADFILE="dynload_win.o"
extra_machdep_objs="$extra_machdep_objs PC/dl_nt.o"
- CFLAGS_NODIST="$CFLAGS_NODIST -DMS_DLL_ID='\"$VERSION\"'"
+ CFLAGS_NODIST="$CFLAGS_NODIST -DMS_DLL_ID='\"$VERSION\"' -DPY3_DLLNAME='L\"$DLLLIBRARY\"'"
;;
esac
fi