Linux needs -lrt for clock_gettime.
This commit is contained in:
parent
1ee9722e5f
commit
a58676c9e1
4
Makefile
4
Makefile
|
@ -23,6 +23,10 @@ ifneq ($(findstring BSD,$(OS)),)
|
||||||
DYLIB_LIB = -lc
|
DYLIB_LIB = -lc
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifneq ($(findstring Linux,$(OS)),)
|
||||||
|
LIBS += -lrt
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(HAVE_SRC), 1)
|
ifeq ($(HAVE_SRC), 1)
|
||||||
LIBS += $(SRC_LIBS)
|
LIBS += $(SRC_LIBS)
|
||||||
DEFINES += $(SRC_CFLAGS)
|
DEFINES += $(SRC_CFLAGS)
|
||||||
|
|
Loading…
Reference in New Issue