From d61dc295e81547c97e93d22008df8053da0139c0 Mon Sep 17 00:00:00 2001 From: ejurgensen Date: Thu, 2 Oct 2014 23:31:30 +0200 Subject: [PATCH] Fix for previous commit which would not work when PKG_CONFIG also returned -L flags --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 081198d6..11eb5ae6 100644 --- a/configure.ac +++ b/configure.ac @@ -159,8 +159,8 @@ fi PKG_CHECK_MODULES(LIBAV, [ libavformat libavcodec libswscale libavutil $libxxresample ]) dnl For ffmpeg compability -PKG_CHECK_MODULES([LIBAVCODEC], [libavcodec]) -avc_name=`echo $LIBAVCODEC_LIBS | sed 's/-l//'` +_PKG_CONFIG([lname], [libs-only-l], [libavcodec]) +avc_name=`echo $pkg_cv_lname | sed 's/-l//'` save_LIBS="$LIBS" dnl Check for av_lock_manager (ffmpeg >= 0.5.1)