Re: plpgsql compile error on win32

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Magnus Hagander" <mha(at)sollentuna(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: plpgsql compile error on win32
Date: 2004-07-31 20:08:46
Message-ID: 1519.1091304526@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Magnus Hagander" <mha(at)sollentuna(dot)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 $(at)(dot)exp $(at)(dot)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 $(at)(dot)exp $(at)(dot)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 $@

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Josh Berkus 2004-07-31 20:40:36 Version Numbering -- The great debate
Previous Message Magnus Hagander 2004-07-31 20:04:25 Re: plpgsql compile error on win32