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:
parent
79222bab6c
commit
a3d550952a
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user