mirror of https://github.com/ArduPilot/ardupilot
waf: Don't use lttng in static builds
already done for libiio and libdl
This commit is contained in:
parent
32cd49264e
commit
c6107d812d
|
@ -170,6 +170,10 @@ def check_package(cfg, env, libname):
|
|||
|
||||
@conf
|
||||
def check_lttng(cfg, env):
|
||||
if cfg.env.STATIC_LINKING:
|
||||
# lttng-ust depends on libdl which means it can't be used in a static build
|
||||
cfg.msg("Checking for 'lttng-ust':", 'disabled for static build', color='YELLOW')
|
||||
return False
|
||||
if cfg.options.disable_lttng:
|
||||
cfg.msg("Checking for 'lttng-ust':", 'disabled', color='YELLOW')
|
||||
return False
|
||||
|
|
Loading…
Reference in New Issue