From 4d1767d1cd0191032e2add33cd87394985eaeb76 Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Thu, 7 Sep 2023 13:08:27 +0200 Subject: [PATCH] dnsdist: dnsdist's fuzzing target needs to link against arc4random On systems that do not provide arc4random we actually need to link the internal library in. --- pdns/dnsdistdist/Makefile.am | 1 + 1 file changed, 1 insertion(+) diff --git a/pdns/dnsdistdist/Makefile.am b/pdns/dnsdistdist/Makefile.am index 03dfda66e1..c39015d50f 100644 --- a/pdns/dnsdistdist/Makefile.am +++ b/pdns/dnsdistdist/Makefile.am @@ -483,6 +483,7 @@ bin_PROGRAMS += \ fuzz_targets_libs = \ $(LIBCRYPTO_LIBS) \ + $(ARC4RANDOM_LIBS) \ $(LIB_FUZZING_ENGINE) fuzz_targets_ldflags = \ -- 2.47.2