Browse Source

mk: board_native: link with librt

This fix compilation errors on some systems that require linking with that
library in order to use some functions.
mission-4.1.18
Gustavo Jose de Sousa 9 years ago committed by Lucas De Marchi
parent
commit
89ebe34992
  1. 2
      mk/board_native.mk

2
mk/board_native.mk

@ -62,7 +62,7 @@ ifneq ($(SYSTYPE),Darwin) @@ -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

Loading…
Cancel
Save