From 951eefae3c7a318860fd78ac60ec0b4c77aab10f Mon Sep 17 00:00:00 2001 From: NanXiao Date: Tue, 7 May 2013 14:59:03 +0800 Subject: Use resolv library in Solaris For some Solaris flavours, the inet_aton in in resolv library. Not linking this library will introduce link error. Improves compatability with older Solaris and still works on new Solaris. Closes #1092 --- src/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile b/src/Makefile index ca7a0be8a..b2d25228f 100644 --- a/src/Makefile +++ b/src/Makefile @@ -58,7 +58,7 @@ ifeq ($(uname_S),SunOS) # SunOS INSTALL=cp -pf FINAL_CFLAGS+= -D__EXTENSIONS__ -D_XPG6 - FINAL_LIBS+= -ldl -lnsl -lsocket -lpthread + FINAL_LIBS+= -ldl -lnsl -lsocket -lresolv -lpthread else ifeq ($(uname_S),Darwin) # Darwin (nothing to do) -- cgit v1.2.1