pjsip uses the wrong pkgconfig name for libavdevice. --- aconfigure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Index: pjproject-2.4.5/aconfigure.ac =================================================================== --- pjproject-2.4.5.orig/aconfigure.ac +++ pjproject-2.4.5/aconfigure.ac @@ -998,9 +998,9 @@ AC_ARG_ENABLE(ffmpeg, if test "$PKG_CONFIG" != "none"; then AC_MSG_CHECKING([ffmpeg packages]) av_pkg="" - if $PKG_CONFIG --exists libdevice; then + if $PKG_CONFIG --exists libavdevice; then ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBAVDEVICE=1" - av_pkg="$av_pkg libdevice" + av_pkg="$av_pkg libavdevice" fi if $PKG_CONFIG --exists libavformat; then ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBAVFORMAT=1"