Skip to content

pcdepends: read .pc files from the package

Balló György requested to merge bgyorgy/namcap:pcdepends-pkg into master

Previously we read the .pc files from the system, not from the package, which may give unexpected output, and differs from other dependency checkers implememted in namcap. Extract each .pc files into a tmpdir, and run pkg-config on it.

This is also needed to be able to write a test for this rule.

Merge request reports