Re: Revert addition of -lpgport, which breaks the build

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Neil Conway <neilc(at)samurai(dot)com>, pgsql-committers(at)postgresql(dot)org
Subject: Re: Revert addition of -lpgport, which breaks the build
Date: 2004-05-24 00:58:27
Message-ID: 200405240058.i4O0wRr18722@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Tom Lane wrote:
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> > Tom Lane wrote:
> >> I think Neil's point is that it fails on OSX as well. Really we have to
> >> do this the way libpq does, namely pull out the specific files it needs
> >> and recompile those with the correct shared-library-compatible CFLAGS.
>
> > I will make the separate build change when I return on Sunday.
>
> I applied the necessary changes to get OS X to build again. Does Win32
> need any more port modules besides path.c in ecpglib?

I see that you didn't use $filter() like we do in libpq/Makefile. I now
remember we have two types of files in libpgport, those that are used
only if the platform needs it, and those that are always in the library,
so they don't need filter.

I have applied the following patch to remove a few unneeded uses of
$filter().

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

Attachment Content-Type Size
unknown_filename text/plain 5.6 KB

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2004-05-24 01:01:39 pgsql-server: Remove a few $filter() calls that were not needed.
Previous Message Tom Lane 2004-05-23 23:26:53 pgsql-server: Seems we had the wrong sign convention for the default