devops: fix ffmpeg linux build (#3884)
The `PKG_CONFIG_PATH` variable is important since it is needed to resolve `.pc` library files.
This commit is contained in:
parent
2f0d2029ca
commit
e4e3f82337
|
|
@ -52,6 +52,7 @@ function build_ffmpeg {
|
||||||
git clone git://source.ffmpeg.org/ffmpeg.git
|
git clone git://source.ffmpeg.org/ffmpeg.git
|
||||||
cd ffmpeg
|
cd ffmpeg
|
||||||
git checkout "${FFMPEG_VERSION}"
|
git checkout "${FFMPEG_VERSION}"
|
||||||
|
export PKG_CONFIG_PATH="${PREFIX}/lib/pkgconfig"
|
||||||
# Prohibit pkg-config from using linux system installed libs.
|
# Prohibit pkg-config from using linux system installed libs.
|
||||||
export PKG_CONFIG_LIBDIR=
|
export PKG_CONFIG_LIBDIR=
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue