Fix the regexp for matching the ld_linux executable.

Remove the double quotes from the resulting match object,
if there is more than one ld_linux file specified.
This commit is contained in:
Martin Gracik 2010-02-25 18:09:56 +01:00
parent 79222bab6c
commit a3d550952a

View File

@ -347,7 +347,7 @@ class Linker(object):
libdirs = ":".join(libdirs) libdirs = ":".join(libdirs)
ld_linux = None ld_linux = None
pattern = re.compile(r"^RTLDLIST=(?P<ld_linux>.*)$") pattern = re.compile(r'^RTLDLIST="?(?P<ld_linux>.*?)"?$')
with open(self.LDDBIN, "r") as f: with open(self.LDDBIN, "r") as f:
for line in f: for line in f: