summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dunstan2013-03-06 00:24:29 +0000
committerAndrew Dunstan2013-03-06 00:24:29 +0000
commit0d147e43adcf5d2bff9caa073608f381a27439bf (patch)
tree7a7e6509d1a26d97b311f13172d95a1f86022097
parent80b011ef0a13bb326861f79ba987b4fa04ae4a27 (diff)
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.
-rw-r--r--src/pl/plpython/Makefile2
1 files changed, 1 insertions, 1 deletions
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