From 4a3dad2f8f8832ca056c44b7a64fb21ae0b3ff10 Mon Sep 17 00:00:00 2001 From: Eric Katzfey Date: Tue, 30 Jul 2024 09:33:08 -0700 Subject: [PATCH] Tools: Added pthread library to the link of the QURT build Linux application --- Tools/ardupilotwaf/qurt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tools/ardupilotwaf/qurt.py b/Tools/ardupilotwaf/qurt.py index f26b3102b9..51a556c094 100644 --- a/Tools/ardupilotwaf/qurt.py +++ b/Tools/ardupilotwaf/qurt.py @@ -27,7 +27,7 @@ def build(bld): bld( # build ap_host source=[STUB_SO, MAIN_CPP], - rule="%s -I%s %s %s %s -o %s" % (AARCH64_CXX, STUB_INC.abspath(), + rule="%s -I%s %s %s %s -lpthread -o %s" % (AARCH64_CXX, STUB_INC.abspath(), MAIN_CPP.abspath(), IFADDR_CPP.abspath(), STUB_SO.abspath(), AP_HOST.abspath()), target=[AP_HOST], group='dynamic_sources'