[PATCH wayland] build: add uninstalled pkg-config files

Pekka Paalanen ppaalanen at gmail.com
Wed May 30 00:11:28 PDT 2012


On Tue, 29 May 2012 10:04:45 -0400
Kristian Høgsberg <hoegsberg at gmail.com> wrote:

> On Tue, May 29, 2012 at 12:05:58PM +0300, Pekka Paalanen wrote:
> > Required for building apps against wayland libraries that have not been
> > installed.
> 
> I've seen this before, but how do you actually use uninstalled .pc files?

They are used by setting the env var PKG_CONFIG_LIBDIR to a colon
separated list of directories, that hold .pc files. pkg-config will
automatically prefer foo-uninstalled.pc over foo.pc.

Of course, the *-uninstalled.pc files must never be installed ;-)


Cheers,
pq


More information about the wayland-devel mailing list