Some Linux distributions seem to require linking to "rt"
@@ -18,7 +18,7 @@ LIBS = -lpthread
include $(TOP)/resources/Makefile.in-os
ifeq ($(TARGET_OS),LINUX)
- LIBS += -ldl
+ LIBS += -ldl -lrt
endif
all: $(PROG)