From 31e4a0a0a67f8fed3e9e20dcbb4ff18fdd3e62b7 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Thu, 16 Sep 2021 11:01:07 -0600 Subject: [PATCH] Add SUDOERS_LDFLAGS to FUZZ_LDFLAGS Fixes a fuzzer link error when building with ldap if the ldap libs are not in the default library search path. --- plugins/sudoers/Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/sudoers/Makefile.in b/plugins/sudoers/Makefile.in index 4aa405f3c..1cad2bcc5 100644 --- a/plugins/sudoers/Makefile.in +++ b/plugins/sudoers/Makefile.in @@ -165,7 +165,7 @@ LIB_FUZZING_ENGINE = @FUZZ_ENGINE@ FUZZ_PROGS = fuzz_policy fuzz_sudoers fuzz_sudoers_ldif FUZZ_SEED_CORPUS = ${FUZZ_PROGS:=_seed_corpus.zip} FUZZ_LIBS = libparsesudoers.la @SUDOERS_LIBS@ $(LIB_FUZZING_ENGINE) -FUZZ_LDFLAGS = @LDFLAGS@ +FUZZ_LDFLAGS = @LDFLAGS@ @SUDOERS_LDFLAGS@ FUZZ_MAX_LEN = 4096 FUZZ_RUNS = 8192