diff options
Diffstat (limited to 'scripts/ffmpeg-config')
-rwxr-xr-x | scripts/ffmpeg-config | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/scripts/ffmpeg-config b/scripts/ffmpeg-config index 163fd0f..e68ff55 100755 --- a/scripts/ffmpeg-config +++ b/scripts/ffmpeg-config @@ -7,7 +7,13 @@ USER_OPTS="$@" if test -f "$BUILD"/ffmpeg_options ; then USER_OPTS="$(cat "$BUILD"/ffmpeg_options) $USER_OPTS" fi -OPTIONS="--enable-gpl --enable-avresample --disable-debug --disable-doc $USER_OPTS" +OPTIONS="--enable-gpl --enable-avresample --disable-debug --disable-doc" + +if "$BUILD"/scripts/test-libmpv ; then + OPTIONS="$OPTIONS --enable-pic" +fi + +OPTIONS="$OPTIONS $USER_OPTS" echo Using ffmpeg options: $OPTIONS |