]> git.ipfire.org Git - thirdparty/bind9.git/commit
Build the fuzzers without the libbindtest test library
authorMichal Nowak <mnowak@isc.org>
Fri, 5 Jun 2026 10:08:03 +0000 (10:08 +0000)
committerMichal Nowak <mnowak@isc.org>
Mon, 8 Jun 2026 09:34:06 +0000 (11:34 +0200)
commitdbaec59931699397dc8bf2d026e29aade55ed351
tree126794193637da38be3f920b0de5072a330e1695
parent67b055557af0210cb4e33101c94a101de14d6d3b
Build the fuzzers without the libbindtest test library

Every fuzz target depended on libtest_dep, which forces building the
libbindtest shared library.  In a static build (as used by OSS-Fuzz)
that link fails: libbindtest's netmgr wrappers multiply-define symbols
that also live in the static libisc/libns archives, and the static
system libraries are not position independent.

Only fuzz_dns_qp actually uses the qp test helpers, so give it just
tests/libtest/qp.c via the new libtest_qp_dep and drop libtest_dep
from the fuzzers.

Assisted-by: Claude:claude-opus-4-8
meson.build
tests/meson.build