diff options
author | NanXiao <xn212516@163.com> | 2013-05-07 14:59:03 +0800 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2014-08-27 10:25:37 +0200 |
commit | 6bc74b4393522faf563cfa96e16b26e467993380 (patch) | |
tree | 67cb3f73dd21ac65cad01be1308d86a436e76e99 /src | |
parent | 1aff711d90518dbbf6a2674d197a1b5b8ffd8ef9 (diff) | |
download | redis-6bc74b4393522faf563cfa96e16b26e467993380.tar.gz |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile index 9d99f2f08..6a8c6a88e 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) |