Skip site navigation (1) Skip section navigation (2)

patch for minor Win32 makefile bug

From: Fred Yankowski <fcy(at)acm(dot)org>
To: pgsql-patches(at)postgresql(dot)org
Cc: pgsql-ports(at)postgresql(dot)org
Subject: patch for minor Win32 makefile bug
Date: 2001-03-30 18:09:36
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-patchespgsql-ports

While working on a patch that allows postmaster to run as an NT service
with Cygwin, I found minor problem in backend/Makefile.  In order to add
an additional library to the final link/build of postgres.exe, I changed
the DLLLIBS variable in makefiles/  But this change had no
effect until I removed the line in backend/Makefile that also sets
DLLLIB, hiding the value from  Note that backend/Makefile
includes, which includes Makefile.port, which is a
symlink to for a Cygwin/Win32 build.

The patch for this change to backend/Makefile is attached.

Fred Yankowski           fred(at)OntoSys(dot)com      tel: +1.630.879.1312
Principal Consultant       fax: +1.630.879.1370
OntoSys, Inc             38W242 Deerpath Rd, Batavia, IL 60510, USA

Index: Makefile
RCS file: /home/projects/pgsql/cvsroot/pgsql/src/backend/Makefile,v
retrieving revision 1.68
diff -u -p -r1.68 Makefile
--- Makefile    2000/11/30 20:36:10     1.68
+++ Makefile    2001/03/30 17:56:22
@@ -64,7 +64,6 @@ $(DIRS:%=%-recursive): $(top_builddir)/s

 ifeq ($(MAKE_DLL), true)
-DLLLIBS := -L/usr/local/lib -lcygipc -lcrypt -lcygwin -lkernel32

 postgres.def: $(DLLOBJS)
        $(DLLTOOL) --export-all --output-def $@ $(DLLOBJS)


pgsql-ports by date

Next:From: Jason TishlerDate: 2001-03-30 22:20:26
Subject: Re: Cygwin PostgreSQL Regression Test Problems (Revisited)
Previous:From: Peter EisentrautDate: 2001-03-30 16:11:15
Subject: Re: Compiling PostgreSQL 7.x on BeOS R5?

pgsql-patches by date

Next:From: Philip WarnerDate: 2001-03-31 14:45:31
Subject: pg_dump UDT/function dependency patch
Previous:From: Justin CliftDate: 2001-03-30 06:40:24
Subject: Modulo bug patch for 7.0.3

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group