Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

where does 'pkg-config' takes its information from?

What files do I need when building a .deb package ?

share|improve this question
up vote 6 down vote accepted

pkg-config retrieves information about packages from special metadata files. These files are named after the package, with the extension .pc. By default, pkg-config looks in the directory prefix/lib/pkgconfig for these files; it will also look in the colon-separated (on Windows, semicolon-separated) list of directories specified by the PKG_CONFIG_PATH environment variable.

share|improve this answer

I found the info whilst poking around: I did

pkg-config --debug dbus-1

and I got:



a lot of times... so I guess I just need to drop '.pc.' files in those directories when I am building a .deb package.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .