Toggle navigation
Toggle navigation
此项目
正在载入...
Sign in
胡斌
/
srs
转到一个项目
Toggle navigation
项目
群组
代码片段
帮助
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
winlin
2014-06-26 17:14:52 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
6ae6f6e60d35fda3ebe0b905e6fade904522664e
6ae6f6e6
1 parent
0cd07615
add freetype2 to pkg-config path.
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
5 行增加
和
0 行删除
trunk/auto/build_ffmpeg.sh
trunk/auto/build_ffmpeg.sh
查看文件 @
6ae6f6e
...
...
@@ -80,6 +80,11 @@ else
cd
freetype-2.4.0
&&
./configure --prefix
=
${
ff_release_dir
}
--enable-static
&&
make
${
SRS_JOBS
}
&&
make install
ret
=
$?
;
if
[[
0 -ne
${
ret
}
]]
;
then
echo
"build freetype-2.4.0 failed"
;
exit
1;
fi
fi
# add pc to pkg-config
pkg-config --exists --print-errors freetype2 >/dev/null 2>&1
ret
=
$?
;
if
[[
0 -ne
${
ret
}
]]
;
then
export
PKG_CONFIG_PATH
=
${
PKG_CONFIG_PATH
}
:
$ff_current_dir
/freetype-2.4.0/builds/unix;
fi
pkg-config --exists --print-errors freetype2 >/dev/null 2>&1
ret
=
$?
;
if
[[
0 -ne
${
ret
}
]]
;
then
echo
"oops... pkg-config cannot find the freetype, please report bug."
;
exit
1;
fi
# x264 core.138
if
[[
-f
${
ff_release_dir
}
/lib/libx264.a
]]
;
then
...
...
请
注册
或
登录
后发表评论