Fix according to deprecation of usage of non-standard escape sequences

pull/6081/head
makise-homura 5 years ago committed by Jussi Pakkanen
parent 79f52e2488
commit 9382884872
  1. 2
      mesonbuild/compilers/mixins/elbrus.py

@ -68,5 +68,5 @@ class ElbrusCompiler(GnuCompiler):
includes = []
for line in stderr.split('\n'):
if line.lstrip().startswith('--sys_include'):
includes.append(re.sub('\s*\\\\$', '', re.sub('^\s*--sys_include\s*', '', line)))
includes.append(re.sub(r'\s*\\$', '', re.sub(r'^\s*--sys_include\s*', '', line)))
return includes

Loading…
Cancel
Save