Martijn van Beers wrote:

> On Sun, Apr 22, 2001 at 07:34:42AM -0300, Alexandre Oliva wrote:
> > On Apr 22, 2001, Eric Lemings <[EMAIL PROTECTED]> 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.


_______________________________________________
Libtool mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/libtool

Reply via email to