Re: [PATCH 2/4] Makefile: add NEEDS_RESOLV to optionally add -lresolv to compile arguments
- From
Brandon Casey <casey@nrlssc.navy.mil>
- Date
- May 28, 2009, 19:32 UTC
- Message-ID
- <vVyKoW1VAw2ieNPkJ-SGMNqgFzp_toRpDdk-ZeAp3qzdczSzN4yckg@cipher.nrlssc.navy.mil>
- In-Reply-To
- <20090528191051.GE13499@coredump.intra.peff.net>
Jeff King wrote:
Show 8 quoted lines
> 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.
Ah, in that case I guess NEED_RESOLV should only go in the 5.7 specific configuration section.
-brandon