Re: [PATCH 2/4] Makefile: add NEEDS_RESOLV to optionally add -lresolv to compile arguments
- From
Jeff King <peff@peff.net>
- Date
- May 28, 2009, 19:10 UTC
- Message-ID
- <20090528191051.GE13499@coredump.intra.peff.net>
- In-Reply-To
- <8D9Pn2N3FZLQcyxrPABrG3rdrFXFL1OddmlhE77V4q-K8NSzkS8xbqdJw0C0CnqkCcLEUU_UEIs@cipher.nrlssc.navy.mil>
On Wed, May 27, 2009 at 09:17:06PM -0500, Brandon Casey wrote:
> This library is required on Solaris since hstrerror resides in libresolv. > Additionally, on Solaris 7, inet_ntop and inet_pton reside there too.
Patch works for me on Solaris 8, though it is largely a non-issue: hstrerror is only used at all if NO_IPV6 is set, and I don't set that for my build.
-Peff