From 6e407a58872c0bef1be1cdf825cffb7902cb5699 Mon Sep 17 00:00:00 2001 From: Fridrich Štrba Date: Fri, 9 Dec 2011 13:05:56 +0100 Subject: Fix Windows build and delivery of libpq --- postgresql/makefile.mk | 9 +++------ postgresql/postgresql-9.1.1.patch | 6 +++--- postgresql/prj/d.lst | 2 +- 3 files changed, 7 insertions(+), 10 deletions(-) (limited to 'postgresql') diff --git a/postgresql/makefile.mk b/postgresql/makefile.mk index 6e85025d49ce..2aae5db73e70 100644 --- a/postgresql/makefile.mk +++ b/postgresql/makefile.mk @@ -47,7 +47,7 @@ PATCH_FILES=\ .ENDIF -.IF "$(GUI)$(COM)"=="WNTGCC" +.IF "$(GUI)$(COM)"=="WNTMSC" CONFIGURE_DIR=. BUILD_DIR=src @@ -62,11 +62,8 @@ BUILD_DIR=src/interfaces/libpq # (which we don't install anyway for now...) # --sysconfdir: config files. Ideally, we would like that to be "the same as the platform default", # but that's quite some guessing work. -.IF "$(VERBOSE)"=="" -MAKE_SILENT=-s -.ENDIF -CONFIGURE_ACTION = ./configure --without-readline -BUILD_ACTION = make $(MAKE_SILENT) -j$(GMAKE_MODULE_PARALLELISM) all-static-lib +CONFIGURE_ACTION = ./configure --without-readline --disable-shared +BUILD_ACTION = make -j$(GMAKE_MODULE_PARALLELISM) .ENDIF # --- Targets ------------------------------------------------------ diff --git a/postgresql/postgresql-9.1.1.patch b/postgresql/postgresql-9.1.1.patch index cafb4a308a6b..54ac388dbc24 100644 --- a/postgresql/postgresql-9.1.1.patch +++ b/postgresql/postgresql-9.1.1.patch @@ -47,9 +47,9 @@ -CPP_OBJS=.\Release/ -!ENDIF - -+OUTDIR=$(OUTDIR)/lib -+INTDIR=$(OUTDIR)/lib -+CPP_OBJS=$(OUTDIR)/slo/ ++OUTDIR=. ++INTDIR=. ++CPP_OBJS=./ -ALL : config "$(OUTDIR)\$(OUTFILENAME).lib" "$(OUTDIR)\$(OUTFILENAME).dll" +ALL : config "$(OUTDIR)\$(OUTFILENAME).lib" diff --git a/postgresql/prj/d.lst b/postgresql/prj/d.lst index 88c3a86cb8b9..a96f3b1c42f6 100644 --- a/postgresql/prj/d.lst +++ b/postgresql/prj/d.lst @@ -3,5 +3,5 @@ mkdir: %_DEST%\inc\postgresql ..\%__SRC%\misc\build\postgresql-*\src\include\postgres_ext.h %_DEST%\inc\postgresql\ ..\%__SRC%\misc\build\postgresql-*\src\interfaces\libpq\libpq-fe.h %_DEST%\inc\postgresql\ ..\%__SRC%\misc\build\postgresql-*\src\interfaces\libpq\libpq.a %_DEST%\lib\ -..\%__SRC%\lib\*.lib %_DEST%\lib\*.lib +..\%__SRC%\misc\build\postgresql-*\src\interfaces\libpq\libpq.lib %_DEST%\lib\ -- cgit