commit | 44203f3316e3ba574555c75d65176df7f22417da | [log] [tgz] |
---|---|---|
author | Christopher Ferris <cferris@google.com> | Wed Jan 07 17:14:03 2015 -0800 |
committer | Christopher Ferris <cferris@google.com> | Wed Jan 07 18:19:54 2015 -0800 |
tree | 65a4551a7caa72ffbbc6bf419811e480fb2a972d | |
parent | aa112716067167d58d1db37aaf8adc49b83b59a1 [diff] |
Fix whole static lib handling of duplicate names. If LOCAL_WHOLE_STATIC_LIBRARIES contains a library that has two files that have the same name but are in different directories, only the first gets included. This fix detects this case, and uses the m option to ar to force the duplicate object to the end of the archive. After this, using the p option gets the correct object file. Change-Id: I2e183f48cef3c79499d4ab8ff147444611ff938b