From a5480e537dc6486a52162cee471e6b2ed4881bad Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Wed, 31 May 2023 17:31:02 -0700 Subject: [PATCH] Py 3.12 syntax fix --- buildtools/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildtools/config.py b/buildtools/config.py index 8072a2d2..cf9f2ba1 100644 --- a/buildtools/config.py +++ b/buildtools/config.py @@ -1033,7 +1033,7 @@ def canGetSOName(): def getSOName(filename): output = runcmd('objdump -p %s' % filename, True) - result = re.search('^\s+SONAME\s+(.+)$', output, re.MULTILINE) + result = re.search(r'^\s+SONAME\s+(.+)$', output, re.MULTILINE) if result: return result.group(1) return None