Makefile: add NEEDS_RESOLV to optionally add -lresolv to compile arguments
authorBrandon Casey <drafnel@gmail.com>
Fri, 5 Jun 2009 23:36:10 +0000 (18:36 -0500)
committerJunio C Hamano <gitster@pobox.com>
Sat, 6 Jun 2009 20:16:46 +0000 (13:16 -0700)
commit70cf991093d4ab8854de0090aca9cf8d10ebd8f8
treecdf4a6a959444da54c1b0425a9d0c6e5c7cce6f5
parentefc07debaf60f5aa81bef78dc3219962ba88c3b8
Makefile: add NEEDS_RESOLV to optionally add -lresolv to compile arguments

This library is required on Solaris when compiling with NO_IPV6 since
hstrerror resides in libresolv.  Additionally, Solaris 7 will need it,
since inet_ntop and inet_pton reside there too.

Signed-off-by: Brandon Casey <drafnel@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile