From 647449165922519a23ea8732e2d89a15be772ccc Mon Sep 17 00:00:00 2001 From: Francis Dupont Date: Tue, 18 Mar 2025 09:42:53 +0100 Subject: [PATCH] [#3731] [#3793] Made AFL independent --- meson.build | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/meson.build b/meson.build index 4d4eecd61e..006d239fc2 100644 --- a/meson.build +++ b/meson.build @@ -373,13 +373,11 @@ result = cpp.run( FUZZING_WITH_CLUSTERFUZZLITE = result.returncode() == 0 have_afl = false -if FUZZ_OPT.enabled() - result = cpp.run(fs.read('compiler-checks/have-afl.cc'), name: 'HAVE_AFL') - if result.returncode() == 0 - have_afl = true - endif - conf_data.set('HAVE_AFL', have_afl) +result = cpp.run(fs.read('compiler-checks/have-afl.cc'), name: 'HAVE_AFL') +if result.returncode() == 0 + have_afl = true endif +conf_data.set('HAVE_AFL', have_afl) if GTEST_DEP.found() result = cpp.run(