aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/depends/target/ffmpeg/autobuild.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/depends/target/ffmpeg/autobuild.sh b/tools/depends/target/ffmpeg/autobuild.sh
index 6bbebfca1c..5c2976278e 100755
--- a/tools/depends/target/ffmpeg/autobuild.sh
+++ b/tools/depends/target/ffmpeg/autobuild.sh
@@ -32,6 +32,7 @@ function usage {
[-p | --prefix] ... ffmepg install prefix
[-d | --download] ... no build, download tarfile only
[-r | --release] ... disable debugging symbols
+ [-s | --shared] ... build shared libraries
[-j] ... make concurrency level
[--cpu=CPU] ... minimum required CPU
[--arch=ARCH] ... select architecture
@@ -62,6 +63,10 @@ do
FLAGS="$FLAGS --disable-debug"
shift
;;
+ -s | --shared)
+ FLAGS="$FLAGS --enable-shared"
+ shift
+ ;;
--disable-optimizations)
FLAGS="$FLAGS --disable-optimizations"
shift