aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2017-10-11 22:28:29 -0300
committerJames Almer <jamrial@gmail.com>2017-10-12 14:20:30 -0300
commit6fb580e7d3c4cead297620a7b982b2975c56b166 (patch)
tree547ad9b86d29c0dc5176607a8f7443d3e0f05cc3 /configure
parentb78bb51a7cdd85ecb88e00fd96276071c092e8f9 (diff)
downloadffmpeg-6fb580e7d3c4cead297620a7b982b2975c56b166.tar.gz
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@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
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