Navigation Menu

Skip to content

Commit

Permalink
mk: fix dynamic linking option for board linux
Browse files Browse the repository at this point in the history
-pthread is the one supposed to be used because it defines pre-defined
macros as -lpthread doesn't
  • Loading branch information
Julien BERAUD authored and lucasdemarchi committed Jan 14, 2016
1 parent f6c2b55 commit f5f2e6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mk/board_linux.mk
Expand Up @@ -3,6 +3,6 @@ TOOLCHAIN = NATIVE
include $(MK_DIR)/find_tools.mk

# 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)/upload_firmware.mk

0 comments on commit f5f2e6d

Please sign in to comment.