Subject: Re: Problems with 2006Q3
To: None <email@example.com>
From: Hrvoje =?utf-8?q?Habjani=C4=87?= <firstname.lastname@example.org>
Date: 11/03/2006 14:37:36
On Friday 03 November 2006 10:33, Joerg Sonnenberger wrote:
> On Fri, Nov 03, 2006 at 10:09:50AM +0100, Hrvoje Habjani? wrote:
> > Then again, Joerg solution sounds good ... Maybe there can be
> > configurable option, which all OSes can use, something like
> > "disable-all-std-libs", which will make links only for libc and libm in
> > pkgsrc lib directory. If there is need for some other system libs out of
> > pkgsrc, it's easy to make extra link or two ...
> How is shared library searching done? Independent of -L?
In case of "configure" script, yes. "configure" script doesn't respect
any "-L" flags - it adds sequentially different paths and when compile pass,
that one is added to libs string.
Ld, on the other hand, respect "-L" flag. But, it is no use when configure
script adds "-L/usr/lib" .. does it? ;-)
> In that case you can just symlink libc and libm via buildlink3 and ensure
> that the normal system directory comes last in the runtime search path.
Hmmm ...using buildlink3 ... nice. :-)
This will, probably, do the trick for linker (ld), but i don't know how to
redirect configure, except to modify it ...