append -lrt to FINAL_LIBS for linux

This commit is contained in:
zhaozhao.zz 2018-05-25 20:16:57 +08:00
parent e4f5c04930
commit 2711f053f2

View File

@ -100,7 +100,7 @@ ifeq ($(uname_S),FreeBSD)
else else
# All the other OSes (notably Linux) # All the other OSes (notably Linux)
FINAL_LDFLAGS+= -rdynamic FINAL_LDFLAGS+= -rdynamic
FINAL_LIBS+=-ldl -pthread FINAL_LIBS+=-ldl -pthread -lrt
endif endif
endif endif
endif endif