From 9ad4322dd66570031819a9f59fd3176e60e2512e Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Thu, 22 Nov 2018 20:04:55 +0100 Subject: [PATCH] package/libsoxr: add optional ffmpeg dependency avutil is used if (WITH_AVFFT OR (CMAKE_SYSTEM_PROCESSOR MATCHES "^arm" AND SIMD32_FOUND AND WITH_CR32)) Signed-off-by: Fabrice Fontaine Signed-off-by: Thomas Petazzoni --- package/libsoxr/libsoxr.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/libsoxr/libsoxr.mk b/package/libsoxr/libsoxr.mk index 5291f9474b..b34962c4ad 100644 --- a/package/libsoxr/libsoxr.mk +++ b/package/libsoxr/libsoxr.mk @@ -18,4 +18,8 @@ else LIBSOXR_CONF_OPTS += -DHAVE_WORDS_BIGENDIAN=0 endif +ifeq ($(BR2_PACKAGE_FFMPEG),y) +LIBSOXR_DEPENDENCIES += ffmpeg +endif + $(eval $(cmake-package))