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 42ec8e8cb2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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