pkg-config search path
Keith Packard
keithp at keithp.com
Mon Sep 22 19:53:31 EEST 2003
Around 12 o'clock on Sep 22, Havoc Pennington wrote:
> - I'm not sure how complicated it is to reconstruct this path
> using LD_LIBRARY_PATH, ld.so.conf, etc.
That's easy; LD_LIBRARY_PATH is parsed just like the current
PKG_CONFIG_PATH, and ld.so.conf is just a list of directories; it can't
get much easier than that.
> - I'm not sure how much of LD_LIBRARY_PATH/ld.so.conf is
> at all portable/standard and kind of suspect the answer
> is "none of it"
The list of directories searched can be OS-dependent; extract the relevant
path from whereever it's stored on the system. Detecting the presence
(and utility) of /etc/ld.so.conf should be easy enough.
> - Owen has raised the issue of arch-independent .pc files
> in datadir
Yeah, that would be nice; would .pc files live in /usr/share then?
-keith
More information about the xdg
mailing list