Add postgresql package.
This commit is contained in:
16
mingw-w64-postgresql/postgresql-9.3.1-plpython-mingw.patch
Normal file
16
mingw-w64-postgresql/postgresql-9.3.1-plpython-mingw.patch
Normal file
@@ -0,0 +1,16 @@
|
||||
--- 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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user