From 0e8cc9a82fcc49ee466f827e19139fb5e644404d Mon Sep 17 00:00:00 2001 From: James Zern Date: Fri, 5 Dec 2014 16:02:42 -0800 Subject: [PATCH] fix building with --disable-spatial-resampling vpx_scale.c is only used by the vp8 encoder when spatial resampling is enabled. Change-Id: If3d3ad81e9ee6e0b59f8c040b9624ef52598fe03 --- vpx_scale/vpx_scale.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vpx_scale/vpx_scale.mk b/vpx_scale/vpx_scale.mk index 92d499175..a49abf3b4 100644 --- a/vpx_scale/vpx_scale.mk +++ b/vpx_scale/vpx_scale.mk @@ -1,7 +1,7 @@ SCALE_SRCS-yes += vpx_scale.mk SCALE_SRCS-yes += yv12config.h -SCALE_SRCS-yes += vpx_scale.h -SCALE_SRCS-yes += generic/vpx_scale.c +SCALE_SRCS-$(CONFIG_SPATIAL_RESAMPLING) += vpx_scale.h +SCALE_SRCS-$(CONFIG_SPATIAL_RESAMPLING) += generic/vpx_scale.c SCALE_SRCS-yes += generic/yv12config.c SCALE_SRCS-yes += generic/yv12extend.c SCALE_SRCS-$(CONFIG_SPATIAL_RESAMPLING) += generic/gen_scalers.c -- 2.40.0