[FFmpeg-cvslog] configure: fix libxavs check
James Almer
git at videolan.org
Thu Oct 12 20:20:53 EEST 2017
ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Wed Oct 11 22:28:29 2017 -0300| [6fb580e7d3c4cead297620a7b982b2975c56b166] | committer: James Almer
configure: fix libxavs check
libxavs may require pthreads and libm at link time, and without
said ldflags available as global extralibs, the check will fail.
Regression since 6dfcbd80ad446ff163b47f2bf432bbf706436ea8.
Tested-by: Michael Niedermayer <michael at niedermayer.cc>
Signed-off-by: James Almer <jamrial at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=6fb580e7d3c4cead297620a7b982b2975c56b166
---
configure | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure b/configure
index 2de19fab0f..6deef0a1ec 100755
--- a/configure
+++ b/configure
@@ -6098,7 +6098,7 @@ enabled libx264 && { use_pkg_config libx264 x264 "stdint.h x264.h" x26
enable libx262; }
enabled libx265 && require_pkg_config libx265 x265 x265.h x265_api_get &&
require_cpp_condition x265.h "X265_BUILD >= 68"
-enabled libxavs && require libxavs "stdint.h xavs.h" xavs_encoder_encode -lxavs
+enabled libxavs && require libxavs "stdint.h xavs.h" xavs_encoder_encode "-lxavs $pthreads_extralibs $libm_extralibs"
enabled libxvid && require libxvid xvid.h xvid_global -lxvidcore
enabled libzimg && require_pkg_config libzimg "zimg >= 2.3.0" zimg.h zimg_get_api_version
enabled libzmq && require_pkg_config libzmq libzmq zmq.h zmq_ctx_new
More information about the ffmpeg-cvslog
mailing list