PR #23091 opened by Steve Lhomme (robUx4) URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/23091 Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/23091.patch
It uses dlopen(). On some systems that requires to link with libdl.so. >From a092c9392faf54721ee98b5a57d5018e462366ee Mon Sep 17 00:00:00 2001 From: Steve Lhomme <[email protected]> Date: Wed, 13 May 2026 09:07:00 +0200 Subject: [PATCH] configure: use -ldl with AMF if necessary It uses dlopen(). On some systems that requires to link with libdl.so. --- configure | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 39a522e7e8..dc549e2e28 100755 --- a/configure +++ b/configure @@ -4371,7 +4371,7 @@ shader_compression_suggest="zlib" avcodec_extralibs="pthreads_extralibs iconv_extralibs dxva2_extralibs liblcevc_dec_extralibs lcms2_extralibs" avfilter_extralibs="pthreads_extralibs" -avutil_extralibs="d3d11va_extralibs d3d12va_extralibs mediacodec_extralibs nanosleep_extralibs pthreads_extralibs vaapi_drm_extralibs vaapi_x11_extralibs vaapi_win32_extralibs vdpau_x11_extralibs" +avutil_extralibs="amf_extralibs d3d11va_extralibs d3d12va_extralibs mediacodec_extralibs nanosleep_extralibs pthreads_extralibs vaapi_drm_extralibs vaapi_x11_extralibs vaapi_win32_extralibs vdpau_x11_extralibs" # programs ffmpeg_deps="avcodec avfilter avformat threads" @@ -7916,6 +7916,9 @@ fi enabled amf && check_cpp_condition amf "AMF/core/Version.h" \ "(AMF_VERSION_MAJOR << 48 | AMF_VERSION_MINOR << 32 | AMF_VERSION_RELEASE << 16 | AMF_VERSION_BUILD_NUM) >= 0x1000500000000" +if enabled amf; then + amf_extralibs="libdl_extralibs" +fi # Funny iconv installations are not unusual, so check it after all flags have been set if enabled libc_iconv; then -- 2.52.0 _______________________________________________ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]
