the next tweak i'll be making is the order of paths returned by 
get_all_libdirs.  it guarantees "lib" to always be in the list and it does 
this simply by having it be the first item.  i cant see this position being a 
hard requirement, just a coding convenience, and it's desirable to have the 
paths follow the actual ABI dir preferences (e.g. Bug 357225).

so the new code will return paths according to the MULTILIB_ABIS order, and 
then append "lib" only if it hasnt already been posted.  assumption here is 
that "lib" is only showing up if people want to symlink or otherwise fake it, 
and so prefer the native paths first.

in looking at the few packages that actually use this function, i cant see any 
problems.  it's used to set up search paths and preferring the "faked" dir 
over the real dir, or even a diff ABI over the active ABI, shouldn't be an 
issue.
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to