My library z uses libx internally, but does not expose libx data
types in its public API. What do I put in my z.pc file?
Again, add the module to Requires.private if it supports
pkg-config. In this case, the compiler flags will be emitted
unnecessarily, but it ensures that the linker flags will be present
when linking statically. If libx does not support pkg-config, add
the necessary linker flags to Libs.private.
From https://people.freedesktop.org/~dbn/pkg-config-guide.html
My library z uses libx internally, but does not expose libx data types in its public API. What do I put in my z.pc file?
Again, add the module to Requires.private if it supports pkg-config. In this case, the compiler flags will be emitted unnecessarily, but it ensures that the linker flags will be present when linking statically. If libx does not support pkg-config, add the necessary linker flags to Libs.private.