Linux下交叉编译mips架构的ffmpeg 4.4.1 库 ERROR: opus not found using pkg-config

Linux下交叉编译mips架构的ffmpeg 4.4.1 库 ERROR: opus not found using pkg-config

配置参数如下

USR_PATH=~/thirdlib
export THIRD_LIB_INSTALL_DIR=${USR_PATH}/install_mips

./configure --prefix=${THIRD_LIB_INSTALL_DIR} \
--pkg-config-flags="--static" \
--enable-cross-compile \
--cross-prefix=mips-linux-uclibc-gnu- \
--arch=mips \
--target-os=linux \
--extra-cflags="-I/home/*/thirdlib/install_mips/include" \
--extra-ldflags="-L/home/*/thirdlib/install_mips/lib" \
--extra-libs="-lpthread -lm" \
--enable-libopus \
--enable-encoder=libopus \
--disable-asm \
--disable-mips32r2 \
--disable-mips32r6 \
--disable-mips64r2 \
--disable-mips64r6 \
--disable-mipsdsp \
--disable-mipsdspr2 \
--disable-mipsfpu \
--enable-small \
ERROR: opus not found using pkg-config
安装过 opus-dev , 还是报同样的错误

opus.pc 路径是 /home/*/thirdlib/install_mips/lib

有没有解决过该问题的同学,求解

已经将相应的pkgconfig环境配置了

echo $PKG_CONFIG_PATH
/home/arya/thirdlib/install_mips/lib/pkgconfig/

http://lists.ffmpeg.org/pipermail/ffmpeg-user/2016-August/033387.html
参考该网址

opus需要交叉编译吧