On 12/10/2017 06:02, James Almer wrote:
libxavs may require pthreads and libm at link time, and without
said ldflags available as global extralibs, the check will fail.
Regression since 7cb1d9e2dbbe5bf4652be5d78cdd68e956fa3d63
Signed-off-by: James Almer <[email protected]>
---
I tried replacing the require() check with a require_pkg_config()
one, and while it included the pthreads ldflag when libxavs was
compiled with pthreads support, it didn't include the libm one.
Considering the project seems dead, trying to get the installed
pkg-config file fixed is probably futile.
configure | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure b/configure
index 960c1ed032..77d71578cc 100755
--- a/configure
+++ b/configure
@@ -4781,7 +4781,7 @@ enabled libx264 && require_pkg_config libx264 x264
"stdint.h x264.h" x
enable libx262; }
enabled libx265 && require_pkg_config libx265 x265 x265.h x265_api_get
&&
require_cpp_condition x265.h "X265_BUILD >= 57"
-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 mmal && { check_lib mmal interface/mmal/mmal.h
mmal_port_connect -lmmal_core -lmmal_util -lmmal_vc_client -lbcm_host ||
{ ! enabled cross_compile &&
Sounds fine.
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel