[FFmpeg-trac] #9905(build system:new): libavutil.pc pkgconfig file includes -lX11 on macOS

FFmpeg trac at avcodec.org
Mon Sep 5 17:43:50 EEST 2022

#9905: libavutil.pc pkgconfig file includes -lX11 on macOS
             Reporter:  Rafael       |                     Type:  defect
  Kitover                            |
               Status:  new          |                 Priority:  normal
            Component:  build        |                  Version:
  system                             |
             Keywords:  build pkg-   |               Blocked By:
  config pkconfig pkgconf            |
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
 Building ffmpeg 5.1.1 results in a PREFIX/lib/pkgconfig/libavutil.pc file
 that contains -lX11.

 macOS users are very unlikely to use X11 and as far as I know, ffmpeg for
 macOS does not use it either.

 This results in builds that use pkgconf/pkg-config trying to link libX11
 and failing.
Ticket URL: <https://trac.ffmpeg.org/ticket/9905>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list