mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
waf: fixed static link build
for bebop
This commit is contained in:
parent
a57f3880d1
commit
623a7c3bf3
@ -164,6 +164,9 @@ def ap_program(bld,
|
|||||||
program_dir=program_dir,
|
program_dir=program_dir,
|
||||||
**kw
|
**kw
|
||||||
)
|
)
|
||||||
|
if 'use' in kw and bld.env.STATIC_LINKING:
|
||||||
|
# ensure we link against vehicle library
|
||||||
|
tg.env.STLIB += [kw['use']]
|
||||||
|
|
||||||
for group in program_groups:
|
for group in program_groups:
|
||||||
_grouped_programs.setdefault(group, []).append(tg)
|
_grouped_programs.setdefault(group, []).append(tg)
|
||||||
|
Loading…
Reference in New Issue
Block a user