正在显示
1 个修改的文件
包含
5 行增加
和
0 行删除
| @@ -80,6 +80,11 @@ else | @@ -80,6 +80,11 @@ else | ||
| 80 | cd freetype-2.4.0 && ./configure --prefix=${ff_release_dir} --enable-static && make ${SRS_JOBS} && make install | 80 | cd freetype-2.4.0 && ./configure --prefix=${ff_release_dir} --enable-static && make ${SRS_JOBS} && make install |
| 81 | ret=$?; if [[ 0 -ne ${ret} ]]; then echo "build freetype-2.4.0 failed"; exit 1; fi | 81 | ret=$?; if [[ 0 -ne ${ret} ]]; then echo "build freetype-2.4.0 failed"; exit 1; fi |
| 82 | fi | 82 | fi |
| 83 | +# add pc to pkg-config | ||
| 84 | +pkg-config --exists --print-errors freetype2 >/dev/null 2>&1 | ||
| 85 | +ret=$?; if [[ 0 -ne ${ret} ]]; then export PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:$ff_current_dir/freetype-2.4.0/builds/unix; fi | ||
| 86 | +pkg-config --exists --print-errors freetype2 >/dev/null 2>&1 | ||
| 87 | +ret=$?; if [[ 0 -ne ${ret} ]]; then echo "oops... pkg-config cannot find the freetype, please report bug."; exit 1; fi | ||
| 83 | 88 | ||
| 84 | # x264 core.138 | 89 | # x264 core.138 |
| 85 | if [[ -f ${ff_release_dir}/lib/libx264.a ]]; then | 90 | if [[ -f ${ff_release_dir}/lib/libx264.a ]]; then |
-
请 注册 或 登录 后发表评论