From: Noah Misch <noah@leadboat.com>
Date: Mon, 3 Nov 2014 02:43:30 +0000 (-0500)
Subject: Re-remove dependency on the DLL of pythonxx.def file.
X-Git-Tag: REL9_4_RC1~38
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f229170c75f0ce64b1b9a0a362571d1f19089de4;p=postgresql

Re-remove dependency on the DLL of pythonxx.def file.

The reasons behind commit 0d147e43adcf5d2bff9caa073608f381a27439bf still
stand, so this reverts the non-cosmetic portion of commit
a7983e989d9cafc9cef49becfee054e34b1ed9b4.  Back-patch to 9.4, where the
latter commit first appeared.
---

diff --git a/src/pl/plpython/Makefile b/src/pl/plpython/Makefile
index 020861a4f8..03de9af0b3 100644
--- a/src/pl/plpython/Makefile
+++ b/src/pl/plpython/Makefile
@@ -73,8 +73,8 @@ OBJS += libpython${pytverstr}.a
 libpython${pytverstr}.a: python${pytverstr}.def
 	dlltool --dllname python${pytverstr}.dll --def python${pytverstr}.def --output-lib libpython${pytverstr}.a
 
-python${pytverstr}.def: $(PYTHONDLL)
-	pexports $^ > $@
+python${pytverstr}.def:
+	pexports $(PYTHONDLL) > $@
 
 endif # win32