diff --git a/mk/board_native.mk b/mk/board_native.mk index 2343f2003a..56112fdf5b 100644 --- a/mk/board_native.mk +++ b/mk/board_native.mk @@ -62,7 +62,7 @@ ifneq ($(SYSTYPE),Darwin) LDFLAGS += -Wl,--gc-sections -Wl,-Map -Wl,$(SKETCHMAP) endif -LIBS ?= -lm -pthread +LIBS ?= -lm -lrt -pthread ifneq ($(findstring CYGWIN, $(SYSTYPE)),) LIBS += -lwinmm endif