[FFmpeg-devel] [PATCH 3.4 0/2] configure: fix LIBDRM handling for static linking

Giulio Benetti giulio.benetti at micronovasrl.com
Wed Oct 17 15:02:16 EEST 2018


Commit c50dc77ac708e98d02da7c422a6b9cbf9f565aa5 has a pitfall, it appends
-ldrm to "Libs:" instead of "Libs.private:" in avutil.pc.
This leads to append -ldrm to link library list tail in shared build too
and this doesn't make sense.
So revert the commit above and add a patch to handle explicit private
libraries introducing privatelibs_avutil and handle it in
pkgconfig_generate.sh.

Giulio Benetti (2):
  Revert "configure: add LIBDRM to extralibs_avutil"
  configure: add LIBDRM to Libs.private introducing privatelibs_avutil

 configure                     | 3 ++-
 ffbuild/pkgconfig_generate.sh | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

-- 
2.17.1



More information about the ffmpeg-devel mailing list