Opened 19 months ago

Last modified 19 months ago

#9905 new defect

libavutil.pc pkgconfig file includes -lX11 on macOS

Reported by: Rafael Kitover Owned by:
Priority: normal Component: build system
Version: unspecified Keywords: pkg-config
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

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.

Change History (1)

comment:1 by Carl Eugen Hoyos, 19 months ago

Keywords: build pkconfig pkgconf removed
Version: unspecified
Note: See TracTickets for help on using tickets.