Alvaro Herrera <alvherre(at)commandprompt(dot)com>,
Michael Meskes <meskes(at)postgresql(dot)org>,
Magnus Hagander <magnus(at)hagander(dot)net>, pgsql-hackers(at)postgresql(dot)org
Andrew Dunstan <andrew(at)dunslane(dot)net> writes:
> One thing I noticed is this:
> ifneq ($(PORTNAME), win32)
> OBJS += thread.o
> DLL_DEFFILE=libecpgdll.def
> endif
> Why are we defining DLL_DEFFILE for the non-win32 case but not for the
> win32 case?
Comparing to the libpq Makefile, this seems definitely backward ---
presumably the result is that Makefile.shlib overwrites the deffile
with an all-symbols deffile, eliminating the intended limitation on
which symbols are exported.
Will fix.
regards, tom lane