Re: Reduce dependancies of postmaster (without --as-needed)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Larry Rosenman <ler(at)lerctr(dot)org>
Cc: Martijn van Oosterhout <kleptog(at)svana(dot)org>, pgsql-patches(at)postgresql(dot)org
Subject: Re: Reduce dependancies of postmaster (without --as-needed)
Date: 2005-11-28 21:54:27
Message-ID: 14456.1133214867@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Larry Rosenman <ler(at)lerctr(dot)org> writes:
> -lnsl is needed on SVR4 derivatives, like Solaris and UnixWare. it is the
> network services library.

> You'll needed it for ANY socket based code on these platforms.

Is there any specific function symbol we can test for in that library?
If it exports something like socket() or connect() on SVR4, we can make
configure probe for that instead of blindly including the library.

regards, tom lane

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2005-11-28 22:07:41 Re: Reduce dependancies of postmaster (without --as-needed)
Previous Message Andrew Dunstan 2005-11-28 21:52:30 Re: Reduce dependancies of postmaster (without --as-needed)