Tools: Added pthread library to the link of the QURT build Linux application

This commit is contained in:
Eric Katzfey 2024-07-30 09:33:08 -07:00 committed by Andrew Tridgell
parent 9ef76de0c9
commit 4a3dad2f8f
1 changed files with 1 additions and 1 deletions

View File

@ -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'