瀏覽代碼

opus-tools: disable flac when it is not selected

opus-tools expects flac since the 0.1.7 bump unless otherwise told so.
Disable it when it's not selected. Fixes:
http://autobuild.buildroot.net/results/c8c/c8c1a682336c150ee401f76b173944611b96bd4e/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Gustavo Zacarias 12 年之前
父節點
當前提交
685e50f517
共有 1 個文件被更改,包括 6 次插入0 次删除
  1. 6 0
      package/opus-tools/opus-tools.mk

+ 6 - 0
package/opus-tools/opus-tools.mk

@@ -19,4 +19,10 @@ else
 OPUS_TOOLS_CONF_OPT += --disable-sse
 OPUS_TOOLS_CONF_OPT += --disable-sse
 endif
 endif
 
 
+ifeq ($(BR2_PACKAGE_FLAC),y)
+OPUS_TOOLS_DEPENDENCIES += flac
+else
+OPUS_TOOLS_CONF_OPT += --without-flac
+endif
+
 $(eval $(autotools-package))
 $(eval $(autotools-package))