Merge pull request #4946 from soloestoy/linux-make-lrt

append -lrt to FINAL_LIBS for linux
This commit is contained in:
Salvatore Sanfilippo 2018-05-25 16:12:19 +02:00 committed by GitHub
commit 3f1e64a882

View File

@ -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