[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: getaddrinfo needs a special library
From: |
Simon Josefsson |
Subject: |
Re: getaddrinfo needs a special library |
Date: |
Tue, 23 Dec 2008 12:01:39 +0100 |
On Tue, 2008-12-23 at 01:49 +0100, Bruno Haible wrote:
> Hi Simon,
>
> I propose this change to the getaddrinfo module with two effects:
>
> - Allow package maintainers to decide which programs to link with -lsocket
> (on Solaris) or -lws2_32 (on native Windows). Not all programs in a
> package need to link with the library that contains getaddrinfo.
> The patch defines a variable GETADDRINFO_LIB. Maintainers who don't want
> want to use this variable per-program can, of course, add it to $LIBS.
>
> - Port to Haiku: on Haiku, it's -lnetwork which is needed. And on BeOS,
> it's -lnet.
>
> OK to commit this?
Yes please!
/Simon