Re: Reduce dependancies of postmaster (without --as-needed) - Mailing list pgsql-patches

From Tom Lane
Subject Re: Reduce dependancies of postmaster (without --as-needed)
Date
Msg-id 14456.1133214867@sss.pgh.pa.us
Whole thread Raw
In response to Re: Reduce dependancies of postmaster (without --as-needed)  (Larry Rosenman <ler@lerctr.org>)
List pgsql-patches
Larry Rosenman <ler@lerctr.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

pgsql-patches by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: Reduce dependancies of postmaster (without --as-needed)
Next
From: Tom Lane
Date:
Subject: Re: Reduce dependancies of postmaster (without --as-needed)