MINGW-packages/mingw-w64-python3.13/0073-def-VPATH-when-compiling-Python-sysmodule.c.patch
Christoph Reiter 04c9ed3700 python3.13: Add 3.13.7
* add libb2 as dep
* remove "-Wl,--large-address-aware", default now via makepkg
* remove 2to3 logic, no longer in Python
2025-09-08 22:02:30 +02:00

22 lines
729 B
Diff

From d3af574adbdced2be4964aaca7847b1da5fabb1c Mon Sep 17 00:00:00 2001
From: Naveen M K <naveen521kk@gmail.com>
Date: Sun, 18 Jun 2023 13:12:56 +0530
Subject: [PATCH 073/N] def VPATH when compiling `Python/sysmodule.c`
---
Makefile.pre.in | 1 +
1 file changed, 1 insertion(+)
diff --git a/Makefile.pre.in b/Makefile.pre.in
index 4dcec48..df51e7f 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -1781,6 +1781,7 @@ Python/dynload_win.o: $(srcdir)/Python/dynload_win.c Makefile
Python/sysmodule.o: $(srcdir)/Python/sysmodule.c Makefile $(srcdir)/Include/pydtrace.h
$(CC) -c $(PY_CORE_CFLAGS) \
-DABIFLAGS='"$(ABIFLAGS)"' \
+ -DVPATH='"$(VPATH)"' \
$(MULTIARCH_CPPFLAGS) \
-o $@ $(srcdir)/Python/sysmodule.c