Re: plpgsql compile error on win32 - Mailing list pgsql-hackers

From Tom Lane
Subject Re: plpgsql compile error on win32
Date
Msg-id 1519.1091304526@sss.pgh.pa.us
Whole thread Raw
In response to Re: plpgsql compile error on win32  ("Magnus Hagander" <mha@sollentuna.net>)
List pgsql-hackers
"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 $@


pgsql-hackers by date:

Previous
From: "Magnus Hagander"
Date:
Subject: Re: plpgsql compile error on win32
Next
From: Josh Berkus
Date:
Subject: Version Numbering -- The great debate