- 下载
https://www.opus-codec.org/downloads/
- 编译openssl
- 编译ogg
- 编译脚本
BUILD_LIBS=$1
if [ "$1" == "" ]; then
BUILD_LIBS=${HOME}/build_libs
fi
export PATH=${BUILD_LIBS}/bin:${PATH}
export PKG_CONFIG_PATH=${BUILD_LIBS}/lib/pkgconfig
make clean
./configure \
--prefix=${BUILD_LIBS} \
CFLAGS="-I${BUILD_LIBS}/include" \
--LDFLAGS="-L${BUILD-LIBS}lib"
make
make install