From: Evgeny Vereshchagin Date: Sun, 9 Jan 2022 21:52:14 +0000 (+0000) Subject: meson: no longer skip dependencies when fuzzers are built locally X-Git-Tag: v251-rc1~561 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e8635fd370400a74977dcceec20c184235664494;p=thirdparty%2Fsystemd.git 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 --- 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.