Re: [HACKERS] pgxs/windows - Mailing list pgsql-patches

From Andrew Dunstan
Subject Re: [HACKERS] pgxs/windows
Date
Msg-id 1137703874.3073.6.camel@swithin
Whole thread Raw
In response to Re: [HACKERS] pgxs/windows  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-patches
On Thu, 2006-01-19 at 15:33 -0500, Tom Lane wrote:
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > The difference between Magnus's and Andrew's is
> > that Magnus used MODULE_big (which means create a shared library), while
> > Andrew used MODULES.  So, Magnus's only worked because he was creating a
> > DLL and that brought in the -L from MODULE_big.
>
> Ah, good catch.

As I understand the docs, one can use either to produce a dll. The
difference is how it processes the name.

>
> > I have applied the following patch to change /bin to /lib for Cygwin and
> > Win32.
>
> What about the question of whether $(DESTDIR) belongs there or not?
> I think we had concluded that PGXS shouldn't ever use $(DESTDIR),
> because that's only for install-time stuff.


Looks that way to me - IIRC it's only used by the regression suite.

cheers

andrew


pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: Uninstall scripts for contrib
Next
From: Tom Lane
Date:
Subject: Re: [HACKERS] pgxs/windows