mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-22 13:33:56 +03:00
meson: allow skipping optional dependencies
mostly to make sure that systemd is buildable without some dependencies but other than that it should make it easier to build it with MSan without having to compile all the dependencies with MSan.
This commit is contained in:
parent
22049270c0
commit
678ba02033
@ -40,7 +40,7 @@ if want_ossfuzz and want_libfuzzer
|
||||
error('only one of oss-fuzz or llvm-fuzz can be specified')
|
||||
endif
|
||||
|
||||
skip_deps = want_ossfuzz
|
||||
skip_deps = want_ossfuzz or get_option('skip-deps')
|
||||
fuzzer_build = want_ossfuzz or want_libfuzzer
|
||||
|
||||
# Create a title-less summary section early, so it ends up first in the output.
|
||||
|
@ -484,3 +484,6 @@ option('analyze', type: 'boolean', value: 'true',
|
||||
|
||||
option('bpf-framework', type : 'combo', choices : ['auto', 'true', 'false'],
|
||||
description: 'build BPF programs from source code in restricted C')
|
||||
|
||||
option('skip-deps', type : 'boolean', value : 'false',
|
||||
description : 'skip optional dependencies')
|
||||
|
Loading…
Reference in New Issue
Block a user