Commit 7650a136 authored by Henrik Gramner's avatar Henrik Gramner
Browse files

configure: Disable CLI libraries when CLI is disabled

parent 1ce062ab
......@@ -976,6 +976,16 @@ if [ "$SYS" = "LINUX" -a \( "$ARCH" = "X86" -o "$ARCH" = "X86_64" \) ] && cc_che
define HAVE_THP
fi
if [ "$cli" = "no" ] ; then
avs="no"
lavf="no"
ffms="no"
gpac="no"
lsmash="no"
mp4="no"
swscale="no"
fi
if [ "$swscale" = "auto" ] ; then
swscale="no"
if ${cross_prefix}pkg-config --exists libswscale 2>/dev/null; then
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment