[lit] Make the gold plugin support testing work with a python3

interpreter. Seems that's a better path than pinning to python2.7.

Thanks to Justin for prodding me toward a fix. =]

llvm-svn: 229247
This commit is contained in:
Chandler Carruth 2015-02-14 09:05:56 +00:00
parent 8860b8d70c
commit 8756afc5a9
1 changed files with 1 additions and 1 deletions

View File

@ -353,7 +353,7 @@ def have_ld_plugin_support():
return False
ld_version = subprocess.Popen(['ld', '--version'], stdout = subprocess.PIPE)
if not 'GNU gold' in ld_version.stdout.read():
if not 'GNU gold' in ld_version.stdout.read().decode():
return False
ld_version.wait()