1
0
Fork 0
forked from len0rd/rockbox

Fix matching of DLL name in deployment script.

Allow DLL filenames to contain the plus sign. Fixes libstdc++-6.dll not
getting recognized as DLL.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28150 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dominik Riebeling 2010-09-23 16:47:23 +00:00
parent cb20579dcc
commit 9dfae97884

View file

@ -318,7 +318,7 @@ def finddlls(program, extrapaths = []):
dlls = []
for line in cmdout[0].split('\n'):
if re.match(r'\s*DLL Name', line) != None:
dll = re.sub(r'^\s*DLL Name:\s+([a-zA-Z_\-0-9\.]+).*$', r'\1', line)
dll = re.sub(r'^\s*DLL Name:\s+([a-zA-Z_\-0-9\.\+]+).*$', r'\1', line)
dlls.append(dll.lower())
# find DLLs in extrapaths and PATH environment variable.