Remove dependency on the DLL of pythonxx.def file.
authorAndrew Dunstan
Wed, 6 Mar 2013 00:24:29 +0000 (19:24 -0500)
committerAndrew Dunstan
Wed, 6 Mar 2013 00:24:29 +0000 (19:24 -0500)
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

index e9b5e3c065f9c17d2bd0232722679bf7ac359363..3fe8e4a7d3436a29d27652be44f1937c8419b4aa 100644 (file)
@@ -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