mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-22 13:33:56 +03:00
meson: no longer skip dependencies when fuzzers are built locally
to make it easier to fuzz code that uses external libraries like libelf/libdw. The dependencies are skipped on OSS-Fuzz because they aren't available at runtime if they aren't linked statically. This restriction can safely be lifted when the fuzzers are built locally with all the dependencies installed. As far as I know there is at least one fuzz target in the systemd repository that can benefit from this: https://github.com/systemd/systemd/issues/11018
This commit is contained in:
parent
79a67f3ca4
commit
e8635fd370
@ -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 or want_libfuzzer
|
||||
skip_deps = want_ossfuzz
|
||||
fuzzer_build = want_ossfuzz or want_libfuzzer
|
||||
|
||||
# Create a title-less summary section early, so it ends up first in the output.
|
||||
|
Loading…
Reference in New Issue
Block a user