mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-22 07:44:03 -04:00
mk: fix dynamic linking option for board native
-pthread is the one supposed to be used because it defines pre-defined macros as -lpthread doesn't
This commit is contained in:
parent
f5f2e6dcd9
commit
3a24531ade
@ -47,7 +47,7 @@ ifneq ($(SYSTYPE),Darwin)
|
||||
LDFLAGS += -Wl,--gc-sections -Wl,-Map -Wl,$(SKETCHMAP)
|
||||
endif
|
||||
|
||||
LIBS ?= -lm -lpthread
|
||||
LIBS ?= -lm -pthread
|
||||
ifneq ($(findstring CYGWIN, $(SYSTYPE)),)
|
||||
LIBS += -lwinmm
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user