add -lresolv for inet_aton on solaris as reported by bfranke on the forums
This commit is contained in:
parent
d8ad7c7ebc
commit
c4e5f8ac40
|
@ -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*)
|
||||
|
|
Loading…
Reference in New Issue