Files
MINGW-packages/mingw-w64-python/0119-Add-extra-flags-for-_bootstrap_python.patch
2023-10-03 09:04:31 +02:00

23 lines
911 B
Diff

From 02574b88739fad64c6e4b5285c53ecaace1ac25d Mon Sep 17 00:00:00 2001
From: Naveen M K <naveen521kk@gmail.com>
Date: Sun, 18 Jun 2023 14:30:09 +0530
Subject: [PATCH 119/N] Add extra flags for `_bootstrap_python`
---
Makefile.pre.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile.pre.in b/Makefile.pre.in
index b754c24..ac621c4 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -1011,7 +1011,7 @@ BOOTSTRAP_HEADERS = \
Programs/_bootstrap_python.o: Programs/_bootstrap_python.c $(BOOTSTRAP_HEADERS) $(PYTHON_HEADERS)
_bootstrap_python: $(LIBRARY_OBJS_OMIT_FROZEN) Programs/_bootstrap_python.o Modules/getpath.o Modules/Setup.local
- $(LINKCC) $(PY_LDFLAGS_NOLTO) -o $@ $(LIBRARY_OBJS_OMIT_FROZEN) \
+ $(LINKCC) $(PY_LDFLAGS_NOLTO) -o $@ -municode -mwindows $(LIBRARY_OBJS_OMIT_FROZEN) \
Programs/_bootstrap_python.o Modules/getpath.o $(LIBS) $(MODLIBS) $(SYSLIBS)