Re: Re: [PATCHES] patch for minor Win32 makefile bug
От | Peter Eisentraut |
---|---|
Тема | Re: Re: [PATCHES] patch for minor Win32 makefile bug |
Дата | |
Msg-id | Pine.LNX.4.30.0104040008080.974-100000@peter.localdomain обсуждение исходный текст |
Ответ на | Re: Re: [PATCHES] patch for minor Win32 makefile bug (Fred Yankowski <fred@ontosys.com>) |
Ответы |
Re: Re: [PATCHES] patch for minor Win32 makefile bug
|
Список | pgsql-ports |
Fred Yankowski writes: > I don't understand the several uses of DLLLIBS as well as I'd like, > but here's what I think is going on. > > In makefiles/Makefile.win, DLLLIBS lists the libraries needed to build > the various DLLs associated with the interfaces/* and pl/plpgsql > directories. As such it includes '-L$(top_builddir)/src/backend -lpostgres' > as well as several Cygwin utility libraries. > > In backend/Makefile, DLLLIBS lists the libraries needed to build > postgres.exe. This does not include '-lpostgres' since postgres.exe > is built by linking exactly the backend object files that also go into > libpostgres.a. (I don't understand this organization.) ISTM that $(DLLLIBS) in backend/Makefile should be replaced by $(LDFLAGS) -lcygipc -lcygwin -lkernel32 $(LIBS) (Presuming that these three libraries are actually needed. Why isn't every program linked against -lcygwin?) -- Peter Eisentraut peter_e@gmx.net http://yi.org/peter-e/
В списке pgsql-ports по дате отправления: