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
This commit is contained in:
parent
b57a4d07a2
commit
951eefae3c
@ -58,7 +58,7 @@ ifeq ($(uname_S),SunOS)
|
|||||||
# SunOS
|
# SunOS
|
||||||
INSTALL=cp -pf
|
INSTALL=cp -pf
|
||||||
FINAL_CFLAGS+= -D__EXTENSIONS__ -D_XPG6
|
FINAL_CFLAGS+= -D__EXTENSIONS__ -D_XPG6
|
||||||
FINAL_LIBS+= -ldl -lnsl -lsocket -lpthread
|
FINAL_LIBS+= -ldl -lnsl -lsocket -lresolv -lpthread
|
||||||
else
|
else
|
||||||
ifeq ($(uname_S),Darwin)
|
ifeq ($(uname_S),Darwin)
|
||||||
# Darwin (nothing to do)
|
# Darwin (nothing to do)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user