ffmpeg: move pkg-config to configure

This commit is contained in:
Patrick Rasmussen 2015-03-24 12:52:39 +01:00
parent ef03acf602
commit c9b5548281

View File

@ -89,8 +89,6 @@ pre_configure_target() {
cd $ROOT/$PKG_BUILD
rm -rf .$TARGET_NAME
export pkg_config="$ROOT/$TOOLCHAIN/bin/pkg-config"
# ffmpeg fails building with LTO support
strip_lto
@ -131,6 +129,7 @@ configure_target() {
--disable-doc \
$FFMPEG_DEBUG \
$FFMPEG_PIC \
--pkg-config="$ROOT/$TOOLCHAIN/bin/pkg-config" \
--enable-optimizations \
--disable-armv5te --disable-armv6t2 \
--disable-extra-warnings \