Commit eacf9abd authored by Thomas Guillem's avatar Thomas Guillem

test: build vlc-demux-* when libfuzzer is used

parent 12324e11
......@@ -796,6 +796,7 @@ AS_VAR_IF(with_libfuzzer, no, [], [
enable_static=yes
enable_vlc=no
])
AM_CONDITIONAL(HAVE_LIBFUZZER, [test "${with_libfuzzer}" != "no"])
AS_IF([test "${enable_shared}" = "no"], [
have_dynamic_objects=no
......
......@@ -252,3 +252,8 @@ vlc_demux_dec_libfuzzer_SOURCES = vlc-demux-libfuzzer.c
vlc_demux_dec_libfuzzer_CPPFLAGS = $(vlc_static_CPPFLAGS)
vlc_demux_dec_libfuzzer_LDADD = libvlc_demux_dec_run.la
EXTRA_PROGRAMS += vlc-demux-dec-libfuzzer
if HAVE_LIBFUZZER
bin_PROGRAMS = vlc-demux-run vlc-demux-dec-run \
vlc-demux-libfuzzer vlc-demux-dec-libfuzzer
endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment