--- Makefile.am | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) --- a/Makefile.am +++ b/Makefile.am @@ -343,7 +343,7 @@ endif check_PROGRAMS += tests/ssml-fuzzer.test tests_ssml_fuzzer_test_CFLAGS = ${AM_CFLAGS} tests_ssml_fuzzer_test_SOURCES = tests/ssml-fuzzer.c -tests_ssml_fuzzer_test_LDADD = src/libespeak-ng.la +tests_ssml_fuzzer_test_LDADD = -lespeak-ng if OPT_SPEECHPLAYER tests_api_test_SOURCES += tests/dummy.cpp @@ -356,7 +356,7 @@ endif if HAVE_LIBFUZZER noinst_PROGRAMS = tests/fuzzing/synth_fuzzer.test tests_fuzzing_synth_fuzzer_test_SOURCES = tests/fuzzing/synth_fuzzer.c -tests_fuzzing_synth_fuzzer_test_LDADD = src/libespeak-ng.la +tests_fuzzing_synth_fuzzer_test_LDADD = -lespeak-ng tests_fuzzing_synth_fuzzer_test_CFLAGS= ${AM_CFLAGS} -DPATH_ESPEAK_DATA=\"$(abs_top_srcdir)/espeak-ng-data\" -Isrc/libespeak-ng tests_fuzzing_synth_fuzzer_test_LDFLAGS= ${AM_LDFLAGS} -static -lm -Wl,-z,relro ${PCAUDIOLIB_LIBS} ${LIBFUZZER} tests_ssml_fuzzer_test_LDFLAGS = ${AM_LDFLAGS} ${LIBFUZZER}