diff options
author | zhaozhao.zz <zhaozhao.zz@alibaba-inc.com> | 2018-05-25 20:16:57 +0800 |
---|---|---|
committer | zhaozhao.zz <zhaozhao.zz@alibaba-inc.com> | 2018-05-25 20:16:57 +0800 |
commit | 2711f053f2b2511fd322ff1ac065f0367a182a40 (patch) | |
tree | a23b4fc57cc9ea6db2bd8dda8adef91ee993011d /src/Makefile | |
parent | e4f5c0493008a007ad65bd17b1746f24f1106685 (diff) | |
download | redis-2711f053f2b2511fd322ff1ac065f0367a182a40.tar.gz |
append -lrt to FINAL_LIBS for linux
Diffstat (limited to 'src/Makefile')
-rw-r--r-- | src/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile index 847d73792..8cd7afe5e 100644 --- a/src/Makefile +++ b/src/Makefile @@ -100,7 +100,7 @@ ifeq ($(uname_S),FreeBSD) else # All the other OSes (notably Linux) FINAL_LDFLAGS+= -rdynamic - FINAL_LIBS+=-ldl -pthread + FINAL_LIBS+=-ldl -pthread -lrt endif endif endif |