[FFmpeg-devel] [PATCH] configure: add LIBDRM to extralibs_avutil

Giulio Benetti giulio.benetti at micronovasrl.com
Wed Sep 12 00:24:16 EEST 2018


Il 11/09/2018 23:21, James Almer ha scritto:
>> -lswscale -lavdevice -lavformat -lavcodec -lssl -lcrypto -lspeex -lmodplug -lstdc++ -lfontconfig -lfreetype -lpng16 -lexpat -ldrm -lz -pthread -latomic -lswresample  -lavutil -lm
> What i'm seeing here is that -ldrm is apparently present in
> libavdevice.pc, but not in libavutill.pc, which shouldn't happen given
> that it's strictly listed in the avutil_suggest list.
> What version of ffmpeg is this script using? Latest git head, an old
> snapshot, or a release? Did this start failing recently?

It happens on version 3.4.4 and I haven't foud fixes until master(maybe 
I've missed something, I'm quite new to this).

> This patch is a hacky way to add the "-ldrm" ldflag to avutil_extralibs.
> It should be added organically by configure as part of the dependency
> checks, so this is definitely not an adequate fix.

Can you point me the right way to fix this?
It was the only way I've found to have it working.

Thanks in advance
Giulio Benetti

More information about the ffmpeg-devel mailing list