Commit 0b188965 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Contribs: disable FFmpeg/libav programs only when cross-compiling

It can be useful to test avplay/ffplay localy

(cherry picked from commit 8a72b02af5c867d32ede00f53e9e67c50818c282)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 1dc08358
...@@ -26,7 +26,6 @@ FFMPEGCONF = \ ...@@ -26,7 +26,6 @@ FFMPEGCONF = \
--disable-filters \ --disable-filters \
--disable-bsfs \ --disable-bsfs \
--disable-bzlib \ --disable-bzlib \
--disable-programs \
--disable-avresample --disable-avresample
ifdef USE_FFMPEG ifdef USE_FFMPEG
...@@ -59,7 +58,7 @@ endif ...@@ -59,7 +58,7 @@ endif
endif endif
ifdef HAVE_CROSS_COMPILE ifdef HAVE_CROSS_COMPILE
FFMPEGCONF += --enable-cross-compile FFMPEGCONF += --enable-cross-compile --disable-programs
ifndef HAVE_DARWIN_OS ifndef HAVE_DARWIN_OS
FFMPEGCONF += --cross-prefix=$(HOST)- FFMPEGCONF += --cross-prefix=$(HOST)-
endif endif
......
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