| Index: native_client_sdk/src/tools/lib/get_shared_deps.py
|
| diff --git a/native_client_sdk/src/tools/lib/get_shared_deps.py b/native_client_sdk/src/tools/lib/get_shared_deps.py
|
| index ac5529ac37fa23c4a51a8c9792aab9cd8cc74f04..1dd257d7c072e87f4992ebd330c0c77163cb6d45 100644
|
| --- a/native_client_sdk/src/tools/lib/get_shared_deps.py
|
| +++ b/native_client_sdk/src/tools/lib/get_shared_deps.py
|
| @@ -206,16 +206,9 @@ def _FindLibsInPath(name, lib_path):
|
| files = []
|
| for dirname in lib_path:
|
| # The libc.so files in the the glibc toolchain is actually a linker
|
| - # script which references libc.so.<SHA1>. This means the lib.so itself
|
| - # does not end up in the NEEDED section for glibc. However with bionic
|
| - # the SONAME is actually libc.so. If we pass glibc's libc.so to objdump
|
| - # if fails to parse it, os this filters out libc.so expept for within
|
| - # the bionic toolchain.
|
| - # TODO(bradnelson): Remove this once the SONAME in bionic is made to be
|
| - # unique in the same it is under glibc:
|
| - # https://code.google.com/p/nativeclient/issues/detail?id=3833
|
| - rel_dirname = os.path.relpath(dirname, SDK_DIR)
|
| - if name == 'libc.so' and 'bionic' not in rel_dirname:
|
| + # script which references libc.so.<SHA1>. This means the libc.so itself
|
| + # does not end up in the NEEDED section for glibc.
|
| + if name == 'libc.so':
|
| continue
|
| filename = os.path.join(dirname, name)
|
| if os.path.exists(filename):
|
|
|