aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwsnipex <wsnipex@a1.net>2016-09-17 16:00:47 +0200
committerwsnipex <wsnipex@a1.net>2016-11-25 09:36:08 +0100
commit7e0053df21abc9a03cbd896dbfc7eb156acc9612 (patch)
tree588dd634dfcf24266e4a41a88011392ad476112c
parent617d1885274b328c03578340131dae4d386ff8a5 (diff)
[depends] ffmpeg: add option to autobuild.sh to build shared libs
-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