From 318f52f8248ea208a0b06adf3f61928520159653 Mon Sep 17 00:00:00 2001 From: Harish Mahendrakar Date: Fri, 1 Feb 2019 11:22:56 -0800 Subject: [PATCH] [libvpx] Disable encoders in libvpx (#2126) Disable encoders while building libvpx Current tools_common.c requires y4minput.c when encoders are enabled. Instead of adding y4minput while linking fuzzer binary, encoders are disabled during libvpx configure. This resolves undefined reference to functions in y4minput.c --- projects/libvpx/build.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/projects/libvpx/build.sh b/projects/libvpx/build.sh index e2e6acdbb..75c2f232e 100755 --- a/projects/libvpx/build.sh +++ b/projects/libvpx/build.sh @@ -35,7 +35,9 @@ LDFLAGS="$CXXFLAGS" LD=$CXX $SRC/libvpx/configure \ --size-limit=12288x12288 \ --extra-cflags="${extra_c_flags}" \ --disable-webm-io \ - --enable-debug + --enable-debug \ + --disable-vp8-encoder \ + --disable-vp9-encoder make -j$(nproc) all popd