From e8635fd370400a74977dcceec20c184235664494 Mon Sep 17 00:00:00 2001 From: Evgeny Vereshchagin Date: Sun, 9 Jan 2022 21:52:14 +0000 Subject: [PATCH] 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 --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 24b7ab8fd60..021bcd003c1 100644 --- a/meson.build +++ b/meson.build @@ -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.