mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-14 00:05:03 -05:00
Avoid clobbering $LIBS when checking for av_lockmgr_register
This led to the sqlite extension being linked against libavcodec, which it, of course, doesn't use at all.
This commit is contained in:
parent
d6d7450557
commit
da3900afad
@ -126,7 +126,9 @@ LIBS="$save_LIBS"
|
||||
|
||||
PKG_CHECK_MODULES(FFMPEG, [ libavcodec libavformat libswscale libavutil ])
|
||||
dnl Check for av_lock_manager (ffmpeg >= 0.5.1)
|
||||
save_LIBS="$LIBS"
|
||||
AC_CHECK_LIB([avcodec], [av_lockmgr_register], , AC_MSG_ERROR([ffmpeg >= 0.5.1 required]))
|
||||
LIBS="$save_LIBS"
|
||||
|
||||
PKG_CHECK_MODULES(MINIXML, [ mxml ])
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user