Fix write_ordered_libraries.py for libraries with odd filenames

Almost any character is valid in a filename. The rest of the pattern
should be restrictive enough that we don't actually match anything that
we don't want.

BUG=427718

Review URL: https://codereview.chromium.org/849973002

Cr-Original-Commit-Position: refs/heads/master@{#311397}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 4a714c8d99004ed1f882f502dbe65d126e413b4b
This commit is contained in:
cjhopman 2015-01-13 19:03:04 -08:00 коммит произвёл Commit bot
Родитель e49f854fc3
Коммит f1e25becb7
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -31,7 +31,7 @@ _readelf = None
_library_dirs = None
_library_re = re.compile(
'.*NEEDED.*Shared library: \[(?P<library_name>[\w/.]+)\]')
'.*NEEDED.*Shared library: \[(?P<library_name>.+)\]')
def SetReadelfPath(path):