Subject: Re: How do I add libraries pkgsrc into the default compile paths?
To: Gene ENonymous <yancm@sdf.lonestar.org>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: port-i386
Date: 04/06/2005 13:46:34
On Wed, Apr 06, 2005 at 06:25:52AM -0500, Gene ENonymous wrote:
> Hi Manuel,
>
> I've attached another related note that made me believe you might know
> the answer to the following...
>
> I've poked around the various mailing lists and documents
> on the site and I have not found a clear answer to the following...
>
> When I add a pkgsrc package that is a library, how do I set up
> the compiler system to add /usr/pkg/lib and /usr/pkg/include in
> the default path for libraries? If this is answered somewhere,
> could you point me?
you can't add it to the default paths. There may be environnement variables
for this, but I don't know their names.
>
> It seems unnecessarily clunky to need to add flags to the complie
> and lines to the ld.so.conf...when I add a pkgsrc library, I would
> like to set it and forget it...
There's no changes to make to ld.so.conf, only the -I, -L and -Wl,-R flags
to pass to the compiler.
--
Manuel Bouyer <bouyer@antioche.eu.org>
NetBSD: 26 ans d'experience feront toujours la difference
--