message: Adding -lrt to LIBS and HOST_LIBS.
diff: @@ -109,7 +109,7 @@ $(HOST_NSYNC_LIB) \
  # If we're on Linux, also link in the dl library.
  ifeq ($(HOST_OS),LINUX)
  - HOST_LIBS += -ldl -lpthread
  + HOST_LIBS += -ldl -lpthread -lrt
  endif
  # If we're on a Pi, link in pthreads and dl
  @@ -259,8 +259,7 @@ endif
  endif
  # If we're on Linux, also link in the dl library.
  ifeq ($(TARGET),LINUX)
  - LIBS += -ldl -lpthread
  - LDFLAGS += -lrt
  + LIBS += -ldl -lpthread -lrt
  endif
  # If we're cross-compiling for the Raspberry Pi, use the right gcc.
  ifeq ($(TARGET),PI)
  