patch for minor Win32 makefile bug
От | Fred Yankowski |
---|---|
Тема | patch for minor Win32 makefile bug |
Дата | |
Msg-id | 3AC4CBE0.46026AD8@acm.org обсуждение исходный текст |
Ответы |
Re: patch for minor Win32 makefile bug
|
Список | pgsql-patches |
Greetings, 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/Makefile.win. But this change had no effect until I removed the line in backend/Makefile that also sets DLLLIB, hiding the value from Makefile.win. Note that backend/Makefile includes Makefile.global, which includes Makefile.port, which is a symlink to Makefile.win for a Cygwin/Win32 build. The patch for this change to backend/Makefile is attached. -- Fred Yankowski fred@OntoSys.com tel: +1.630.879.1312 Principal Consultant www.OntoSys.com 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) DLLOBJS := $(OBJS) -DLLLIBS := -L/usr/local/lib -lcygipc -lcrypt -lcygwin -lkernel32 postgres.def: $(DLLOBJS) $(DLLTOOL) --export-all --output-def $@ $(DLLOBJS)
В списке pgsql-patches по дате отправления: