mirror of https://github.com/ArduPilot/ardupilot
mk: fix dynamic linking option for board linux
-pthread is the one supposed to be used because it defines pre-defined macros as -lpthread doesn't
This commit is contained in:
parent
f6c2b55c3f
commit
f5f2e6dcd9
|
@ -3,6 +3,6 @@ TOOLCHAIN = NATIVE
|
||||||
include $(MK_DIR)/find_tools.mk
|
include $(MK_DIR)/find_tools.mk
|
||||||
|
|
||||||
# Linux build is just the same as SITL for now
|
# Linux build is just the same as SITL for now
|
||||||
LIBS = -lm -lpthread -lrt
|
LIBS = -lm -pthread -lrt
|
||||||
include $(MK_DIR)/board_native.mk
|
include $(MK_DIR)/board_native.mk
|
||||||
include $(MK_DIR)/upload_firmware.mk
|
include $(MK_DIR)/upload_firmware.mk
|
||||||
|
|
Loading…
Reference in New Issue