Age | Commit message (Collapse) | Author |
|
and major !=-1 anywhere).
Simplify test logic: it's enough to check path != NULL to know whether
we found something. cmpdewey() code is enough to ensure we get the best
one (libfoo.a doesn't change n, any appropriate libfoo.so will take
precedence).
|
|
we found something correct or not.
|
|
ld (and ld.so) should take the shared library of the highest version
in the first directory that it founds. this is the way ld/ld.so has
traditionally worked since SunOS 4 and this is the way it should work.
before changing this back - please make sure you understand the
semantics of this and that you are not just hiding some other bug but
toggling this change. also verify the example in the PR.
see PR/972
|
|
for shared libs when the first was found... thus it would miss a
newer version found later in the search path
|
|
|
|
directories. This is compatible with the SunOS behaviour. Also,
it fixes a problem where it was not possible for some 3rd party
package to have a library with the same name as a library already
in the system, and a lower version number. The highest version
would always be picked. This particular problem shows up with Mozilla,
which has a libutil.so.1.0; fvdl
|
|
|
|
|