Sample Header Ad - 728x90

How does pkg-config work in RPM specfiles?

1 vote
2 answers
1488 views
In some RPM specfiles, I see lines like: BuildRequires: pkgconfig(ice) BuildRequires: pkgconfig(libnotify) BuildRequires: pkgconfig(libssl) ... I am not very familiar with pkgconfig but I understand that some installed libraries have a corresponding .pc file which describes them. I have 2 questions: 1. Is this only used for dynamic libraries? 2. How does RPM handle the above in a situation where ice, libnotify, and libssl are NOT found on the system currently or where they are found but there is no corresponding .pc file?
Asked by the_endian (414 rep)
Jun 12, 2020, 07:21 AM
Last activity: Oct 28, 2024, 03:42 PM