Shared AOM
This commit is contained in:
parent
5c44c16cac
commit
67c6bd6c0d
|
@ -1,8 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -ex
|
set -ex
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
CFLAGS="-fPIC -Os"
|
CFLAGS="-fPIC -Os"
|
||||||
|
|
||||||
git clone --depth 1 https://github.com/mpv-player/mpv-build mpv-build || true
|
git clone --depth 1 https://github.com/mpv-player/mpv-build mpv-build || true
|
||||||
|
@ -11,7 +9,7 @@ cd mpv-build
|
||||||
git clone --depth 1 https://aomedia.googlesource.com/aom aom || true
|
git clone --depth 1 https://aomedia.googlesource.com/aom aom || true
|
||||||
mkdir aom-build || true
|
mkdir aom-build || true
|
||||||
cd aom-build
|
cd aom-build
|
||||||
cmake ../aom -G "Unix Makefiles"
|
cmake ../aom -G "Unix Makefiles" -DBUILD_SHARED_LIBS=1
|
||||||
make -j`nproc`
|
make -j`nproc`
|
||||||
sudo make install
|
sudo make install
|
||||||
cd ..
|
cd ..
|
||||||
|
|
Loading…
Reference in a new issue