2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-30 05:48:18 +00:00

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.
This commit is contained in:
Todd C. Miller 2021-09-16 11:01:07 -06:00
parent 2d632937e6
commit 31e4a0a0a6

View File

@ -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