summaryrefslogtreecommitdiffstats
path: root/contrib/build-scripts/build-ffmpeg-linux.sh
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/build-scripts/build-ffmpeg-linux.sh')
-rwxr-xr-xcontrib/build-scripts/build-ffmpeg-linux.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/contrib/build-scripts/build-ffmpeg-linux.sh b/contrib/build-scripts/build-ffmpeg-linux.sh
index c052dca..dc00a5a 100755
--- a/contrib/build-scripts/build-ffmpeg-linux.sh
+++ b/contrib/build-scripts/build-ffmpeg-linux.sh
@@ -30,7 +30,7 @@ export PATH=${PATH}:${DEST_DIR}/bin
git clone --depth 1 git://git.videolan.org/x264.git
cd x264
-./configure --prefix="${DEST_DIR}" --bindir="${DEST_DIR}/bin" --enable-static
+./configure --prefix="${DEST_DIR}" --bindir="${DEST_DIR}/bin" --enable-static --enable-pic
make
make install
cd ..
@@ -38,7 +38,7 @@ cd ..
git clone --depth 1 git://git.code.sf.net/p/opencore-amr/fdk-aac
cd fdk-aac
autoreconf -fiv
-./configure --prefix="${DEST_DIR}" --disable-shared
+./configure --prefix="${DEST_DIR}" --disable-shared --with-pic
make
make install
cd ..
@@ -46,14 +46,14 @@ cd ..
wget http://downloads.xiph.org/releases/opus/opus-1.0.3.tar.gz
tar xzvf opus-1.0.3.tar.gz
cd opus-1.0.3
-./configure --prefix="${DEST_DIR}" --disable-shared
+./configure --prefix="${DEST_DIR}" --disable-shared --with-pic
make
make install
cd ..
git clone --depth 1 http://git.chromium.org/webm/libvpx.git
cd libvpx
-./configure --prefix="${DEST_DIR}" --disable-examples
+./configure --prefix="${DEST_DIR}" --disable-examples --enable-pic
make
make install
cd ..
@@ -64,7 +64,7 @@ PKG_CONFIG_PATH="${DEST_DIR}/lib/pkgconfig"
export PKG_CONFIG_PATH
./configure --prefix="${DEST_DIR}" \
--extra-cflags="-I${DEST_DIR}/include" --extra-ldflags="-L${DEST_DIR}/lib" --prefix="${DEST_DIR}" \
- --bindir="${DEST_DIR}/bin" --extra-libs="-ldl" --enable-gpl --enable-nonfree
+ --bindir="${DEST_DIR}/bin" --extra-libs="-ldl" --enable-gpl --enable-nonfree --enable-pic
make
make install
cd ..