aboutsummaryrefslogtreecommitdiff
path: root/package/opus-tools/opus-tools.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/opus-tools/opus-tools.mk')
-rw-r--r--package/opus-tools/opus-tools.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/package/opus-tools/opus-tools.mk b/package/opus-tools/opus-tools.mk
index bb11a19239..f4dee745fe 100644
--- a/package/opus-tools/opus-tools.mk
+++ b/package/opus-tools/opus-tools.mk
@@ -19,4 +19,10 @@ else
OPUS_TOOLS_CONF_OPT += --disable-sse
endif
+ifeq ($(BR2_PACKAGE_FLAC),y)
+OPUS_TOOLS_DEPENDENCIES += flac
+else
+OPUS_TOOLS_CONF_OPT += --without-flac
+endif
+
$(eval $(autotools-package))