Bug 79031

Summary: Option to print the search path for .pc files
Product: pkg-config Reporter: Bill Spitzak <spitzak>
Component: srcAssignee: pkg-config
Status: RESOLVED MOVED QA Contact:
Severity: normal    
Priority: medium CC: peter.hutterer
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Bill Spitzak 2014-05-21 18:11:05 UTC
This is to help in figuring out why it is not finding a package.

Yes I know "pkg-config --variable=pc_path pkg-config" will sort-of produce the correct value. However this is entirely unintuitive and undiscoverable. In addition it may report a different value than actually used by the instance of pkg-config. If this was an acceptable solution then you should also remove --version and say that you must do "pkg-config --modversion pkg-config".
Comment 1 Peter Hutterer 2014-05-21 23:33:34 UTC
attachment 99544 [details] [review] in bug 79032 should address this issue too, it prints out the search path if a package hasn't been found.
Comment 2 GitLab Migration User 2018-08-25 12:53:16 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/pkg-config/pkg-config/issues/10.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.