diff options
| author | Bruce Momjian | 2001-05-25 15:48:33 +0000 |
|---|---|---|
| committer | Bruce Momjian | 2001-05-25 15:48:33 +0000 |
| commit | 06a8346c84bb67e4fe0448a1f784ee91b1b7bad1 (patch) | |
| tree | a9cadfe915bcb7e843d977751c14993cfd1d7df2 /src/makefiles | |
| parent | f6923ff3ac8320a82f4bb070b09e9b1fed3d91c9 (diff) | |
See attached for a small patch that enables plpython to build cleanly
under Cygwin. This patch together with my previous Python patch:
http://postgresql.readysetnet.com/mhonarc/pgsql-patches/2001-05/msg00075.htm
l
enables full Python support (i.e., configure --with-python) for Cygwin
PostgreSQL.
Jason Tishler
Diffstat (limited to 'src/makefiles')
| -rw-r--r-- | src/makefiles/Makefile.win | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/makefiles/Makefile.win b/src/makefiles/Makefile.win index 626432b4351..7fce66b1ace 100644 --- a/src/makefiles/Makefile.win +++ b/src/makefiles/Makefile.win @@ -1,4 +1,4 @@ -# $Header: /cvsroot/pgsql/src/makefiles/Attic/Makefile.win,v 1.12 2001/05/25 14:28:58 momjian Exp $ +# $Header: /cvsroot/pgsql/src/makefiles/Attic/Makefile.win,v 1.13 2001/05/25 15:48:33 momjian Exp $ LDFLAGS+= -g DLLTOOL= dlltool DLLWRAP= dllwrap @@ -28,4 +28,8 @@ ifeq ($(findstring ecpg/lib,$(subdir)), ecpg/lib) override CPPFLAGS+= -DBUILDING_DLL=1 endif +ifeq ($(findstring src/pl/plpython,$(subdir)), src/pl/plpython) +override CPPFLAGS+= -DUSE_DL_IMPORT +endif + override javadir := '$(shell cygpath -w $(javadir))' |
