Commit 8a41dae4 authored by antirez's avatar antirez
Browse files

Add "-lrt" in Makefile for Solaris.

This fix is from @NanXiao, however I was not able to retain authorship
because the Pull Request original repository was removed.
parent 50cdedd1
...@@ -58,7 +58,7 @@ ifeq ($(uname_S),SunOS) ...@@ -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 -lresolv -lpthread FINAL_LIBS+= -ldl -lnsl -lsocket -lresolv -lpthread -lrt
else else
ifeq ($(uname_S),Darwin) ifeq ($(uname_S),Darwin)
# Darwin (nothing to do) # Darwin (nothing to do)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment