mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-24 14:26:09 +03:00
build: Fix glibc symbol pattern
This commit is contained in:
parent
46e303cee6
commit
fec289335e
@ -16,7 +16,7 @@ MAX_ALLOWED_GLIBC_VERSION = [2, 17]
|
|||||||
|
|
||||||
|
|
||||||
def get_replacements(nm_file, max_allowed_glibc_version):
|
def get_replacements(nm_file, max_allowed_glibc_version):
|
||||||
symbol_format = re.compile('\S+ \S+ ([^@]+)@@?(\S+)\n')
|
symbol_format = re.compile('\S+ \S+ ([^@]+)@@?([^@]+)')
|
||||||
version_format = re.compile('GLIBC_[0-9\.]+')
|
version_format = re.compile('GLIBC_[0-9\.]+')
|
||||||
symbols = {}
|
symbols = {}
|
||||||
for line in nm_file:
|
for line in nm_file:
|
||||||
|
Loading…
Reference in New Issue
Block a user