commit | 9840e1bf1a963df347d30ebf4b2b7bc835c5c7d2 | [log] [tgz] |
---|---|---|
author | Dan Albert <danalbert@google.com> | Thu Jul 21 08:47:33 2016 -0700 |
committer | Dan Albert <danalbert@google.com> | Thu Jul 21 10:01:55 2016 -0700 |
tree | 26aea41e6d73c167246a6ce9aa21de828b68067d | |
parent | ff3a2e4d55b9810df06cfe2b4424cc3948131f2b [diff] |
Use the full path to the shared lib. Using only -lc (for example) means that in the case where we have one library path with libc.a but no libc.so (such as prebuilts/ndk) and another with libc.so (such as the out directory), we'll always use the static version. We can link shared libraries by their full path to be sure that we always get the right library. Change-Id: Idf5707fc4aaf9e651d7d8936611200760eab3c7c