- 下载
https://github.com/libass/libass/releases/download/0.14.0/libass-0.14.0.tar.xz
- 解压
tar xf libass-0.14.0.tar.xz cd libass-0.14.0/
- 编译
BUILD_LIBS=${HOME}/build_libs export PATH=${BUILD_LIBS}/bin:${PATH} export PKG_CONFIG_PATH=${BUILD_LIBS}/lib/pkgconfig if [ -f autogen.sh ]; then ./autogen.sh fi ./configure \ --prefix=${BUILD_LIBS} \ CFLAGS="-I${BUILD_LIBS}/include -I${BUILD_LIBS}/include/freetype2" \ LDFLAGS="-L${BUILD_LIBS}/lib" make make install