Rich Cook wrote:
/usr/local/lib is only marginally different to /sw/lib. If either is
in the default ld/dyld search paths or I use -L/usr/local/lib in a
link command, I am immediately condemned to link all the
Fink/whatever
stuff that has been installed, whether I want it or not. That is
what
I mean by pollution. Obviously the same applies to headers at
compile
time.
You are just incorrect here. -L/usr/local/lib does not link
*ANYTHING*
in, it simply adds /usr/local/lib to the search paths for libs you
explicitly request with -lname.
I think that's what he means, Rich.
If you ever once add -L/usr/local/lib to a link line, then all
successive
-lname libraries come from /usr/local/lib (assuming they're there),
rather
than from the default Apple-provided location. That's pollution, from
a
certain point of view.