From 0d147e43adcf5d2bff9caa073608f381a27439bf Mon Sep 17 00:00:00 2001
From: Andrew Dunstan <andrew@dunslane.net>
Date: Tue, 5 Mar 2013 19:24:29 -0500
Subject: [PATCH] Remove dependency on the DLL of pythonxx.def file.

This confused Cygwin's make because of the colon in the path. The
DLL isn't likely to change under us so preserving the dependency
doesn't gain us much, and it's useful to be able to do a native
Windows build with the Cygwin mingw toolset.

Noah Misch.
---
 src/pl/plpython/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/pl/plpython/Makefile b/src/pl/plpython/Makefile
index e9b5e3c065f..3fe8e4a7d34 100644
--- a/src/pl/plpython/Makefile
+++ b/src/pl/plpython/Makefile
@@ -66,7 +66,7 @@ OBJS += libpython${pytverstr}.a
 libpython${pytverstr}.a: python${pytverstr}.def
 	dlltool --dllname python${pytverstr}.dll --def python${pytverstr}.def --output-lib  libpython${pytverstr}.a
 WD=$(subst \,/,$(WINDIR))
-python${pytverstr}.def: $(WD)/system32/python${pytverstr}.dll
+python${pytverstr}.def:
 	pexports $(WD)/system32/python${pytverstr}.dll > python${pytverstr}.def
 endif
 
-- 
GitLab