From 2711f053f2b2511fd322ff1ac065f0367a182a40 Mon Sep 17 00:00:00 2001 From: "zhaozhao.zz" Date: Fri, 25 May 2018 20:16:57 +0800 Subject: [PATCH] append -lrt to FINAL_LIBS for linux --- src/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile b/src/Makefile index 847d7379..8cd7afe5 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