summaryrefslogtreecommitdiffstats
path: root/src/Make_cyg_ming.mak
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-08-06 21:47:11 +0200
committerBram Moolenaar <Bram@vim.org>2020-08-06 21:47:11 +0200
commit56b8dc331dc7f499c8221ed7d1c7795ad5e3bdeb (patch)
tree4616d00af44448ab701d07504c24d14c1190ae75 /src/Make_cyg_ming.mak
parent3d945cc925dddb99a1ee86ec194b5b95221c72d7 (diff)
patch 8.2.1381: MS-Windows: crash with Python 3.5 when stdin is redirectedv8.2.1381
Problem: MS-Windows: crash with Python 3.5 when stdin is redirected. Solution: Reconnect stdin. (Yasuhiro Matsumoto, Ken Takata, closes #6641)
Diffstat (limited to 'src/Make_cyg_ming.mak')
-rw-r--r--src/Make_cyg_ming.mak2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Make_cyg_ming.mak b/src/Make_cyg_ming.mak
index dedc98d790..1c519d9b5e 100644
--- a/src/Make_cyg_ming.mak
+++ b/src/Make_cyg_ming.mak
@@ -588,6 +588,8 @@ ifdef PYTHON3
CFLAGS += -DFEAT_PYTHON3
ifeq (yes, $(DYNAMIC_PYTHON3))
CFLAGS += -DDYNAMIC_PYTHON3 -DDYNAMIC_PYTHON3_DLL=\"$(DYNAMIC_PYTHON3_DLL)\"
+ else
+CFLAGS += -DPYTHON3_DLL=\"$(DYNAMIC_PYTHON3_DLL)\"
endif
endif