add -lresolv for inet_aton on solaris as reported by bfranke on the forums

This commit is contained in:
Ron Pedde 2007-04-16 21:34:23 +00:00
parent d8ad7c7ebc
commit c4e5f8ac40
1 changed files with 1 additions and 1 deletions

View File

@ -169,7 +169,7 @@ case $host in
CPPFLAGS="$CPPFLAGS -DLOG_PERROR=0 -D_XPG4_2 -D__EXTENSIONS__ "
CPPFLAGS="$CPPFLAGS -DHAVE_BROKEN_RECVIF_NAME "
CPPFLAGS="$CPPFLAGS -D_POSIX_PTHREAD_SEMANTICS"
LIBS="${LIBS} -lnsl -lsocket";;
LIBS="${LIBS} -lnsl -lsocket -lresolv";;
*freebsd*)
CPPFLAGS="$CPPFLAGS -DFREEBSD";;
*linux*)