"Magnus Hagander" <mha@sollentuna.net> writes:
> Ok. So the problem is that functions from libpgport aren't included in
> postgres.def, and thus not in libpostgres.a. It seems that can be fixed
> with the following patch, which is probably a whole lot close to being
> right than what I did before:
That one feels right to me. Any objections out there?
regards, tom lane
> *** Makefile 21 Jul 2004 20:34:44 -0000 1.103
> --- Makefile 31 Jul 2004 20:03:08 -0000
> ***************
> *** 66,72 ****
> rm -f $@.exp $@.base
> postgres.def: $(OBJS)
> ! $(DLLTOOL) --export-all --output-def $@ $^
> libpostgres.a: postgres.def
> $(DLLTOOL) --dllname postgres.exe --def postgres.def
> --output-lib $@
> --- 66,72 ----
> rm -f $@.exp $@.base
> postgres.def: $(OBJS)
> ! $(DLLTOOL) --export-all --output-def $@ $^
> $(top_builddir)/src/port/libpgport.a
> libpostgres.a: postgres.def
> $(DLLTOOL) --dllname postgres.exe --def postgres.def
> --output-lib $@