mirror of
https://github.com/owntone/owntone-server.git
synced 2025-05-23 02:21:55 -04:00
Fix for previous commit which would not work when PKG_CONFIG also returned -L flags
This commit is contained in:
parent
d0685aed6f
commit
d61dc295e8
@ -159,8 +159,8 @@ fi
|
|||||||
PKG_CHECK_MODULES(LIBAV, [ libavformat libavcodec libswscale libavutil $libxxresample ])
|
PKG_CHECK_MODULES(LIBAV, [ libavformat libavcodec libswscale libavutil $libxxresample ])
|
||||||
|
|
||||||
dnl For ffmpeg compability
|
dnl For ffmpeg compability
|
||||||
PKG_CHECK_MODULES([LIBAVCODEC], [libavcodec])
|
_PKG_CONFIG([lname], [libs-only-l], [libavcodec])
|
||||||
avc_name=`echo $LIBAVCODEC_LIBS | sed 's/-l//'`
|
avc_name=`echo $pkg_cv_lname | sed 's/-l//'`
|
||||||
|
|
||||||
save_LIBS="$LIBS"
|
save_LIBS="$LIBS"
|
||||||
dnl Check for av_lock_manager (ffmpeg >= 0.5.1)
|
dnl Check for av_lock_manager (ffmpeg >= 0.5.1)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user