libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Libtool and Pkg-Config


From: Eric Lemings
Subject: Re: Libtool and Pkg-Config
Date: Sun, 22 Apr 2001 10:28:54 -0600

Martijn van Beers wrote:

> On Sun, Apr 22, 2001 at 07:34:42AM -0300, Alexandre Oliva wrote:
> > On Apr 22, 2001, Eric Lemings <address@hidden> wrote:
> >
> >> Currently, they just install their .pc file into pkg-config's data 
> >> directory.
> > Which is exactly the wrong approach.  A package should never, ever
> > install anything outside the --prefix/--exec-prefix/--*dir specified
> > by the user.  Having stuff stuffed :-) into pkg-config's data
> > directories will just make it impossible to reasonably pick one out of
> > multiple installed versions of the same package.  Please don't do
> > that.
> Maybe you should actually take a look at pkg-config instead of listening
> to people talking about it inaccurately. pkg-config does not have a
> single data directory where you put in all the .pc files. you can
> install them anywhere you want and point pkg-config at them with
> the PKG_CONFIG_PATH environment variable.

Well I for one was unaware of the PKG_CONFIG_PATH variable.  If that is true
however, how are client packages supposed to know where their .pc files are
supposed to be installed if this variable can be changed?  Right now, I think 
most
assume that its ${libdir}/pkgconfig.

Eric.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]