Linux: how are .pc files used when connecting to a shared library?

To my knowledge, * .pc files store metadata about shared libraries. Is the linker automatically using these files when linking to a shared library? If so, where is he looking for these files?

+6
c linux
source share
1 answer

No, the linker does not use .pc files. These files are intended for pkg-config , which in turn can be used to create commands for reference.

+7
source share

All Articles