Linux needs -lrt for clock_gettime.

This commit is contained in:
Themaister 2011-10-06 20:34:01 +02:00
parent 1ee9722e5f
commit a58676c9e1

View File

@ -23,6 +23,10 @@ ifneq ($(findstring BSD,$(OS)),)
DYLIB_LIB = -lc
endif
ifneq ($(findstring Linux,$(OS)),)
LIBS += -lrt
endif
ifeq ($(HAVE_SRC), 1)
LIBS += $(SRC_LIBS)
DEFINES += $(SRC_CFLAGS)