--- postgresql-9.3.1/src/pl/plpython/Makefile.orig 2013-12-01 09:52:55.043200000 +0400 +++ postgresql-9.3.1/src/pl/plpython/Makefile 2013-12-01 09:54:53.591200000 +0400 @@ -63,11 +63,8 @@ ifeq ($(PORTNAME), win32) pytverstr=$(subst .,,${python_version}) 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: - pexports $(WD)/system32/python${pytverstr}.dll > python${pytverstr}.def +libpython${pytverstr}.a: + cp -f $(python_libdir)/libpython${python_version}.dll.a libpython${pytverstr}.a endif