mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
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.
This commit is contained in:
parent
ed2718a183
commit
89ebe34992
@ -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…
Reference in New Issue
Block a user