--- postgresql-9.4.0/src/pl/plpython/Makefile.orig 2014-12-27 09:52:55.043200000 +0400 +++ postgresql-9.4.0/src/pl/plpython/Makefile 2014-12-27 09:54:53.591200000 +0400 @@ -63,11 +63,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: - pexports $(PYTHONDLL) > $@ +libpython${pytverstr}.a: + cp -f $(python_libdir)/libpython${python_version}.dll.a libpython${pytverstr}.a endif # win32