Line too long

This commit is contained in:
Andrew Murray 2018-12-26 23:02:53 +11:00
parent c2b3bd5635
commit 079319fc74

View File

@ -158,8 +158,13 @@ def _pkg_config(name):
if not DEBUG:
command_libs.append('--silence-errors')
command_cflags.append('--silence-errors')
libs = subprocess.check_output(command_libs).decode('utf8').strip().replace('-L', '')
cflags = subprocess.check_output(command_cflags).decode('utf8').strip().replace('-I', '')
libs = subprocess.check_output(command_libs).decode('utf8').strip()
libs = libs.replace('-L', '')
cflags = subprocess.check_output(command_cflags).decode('utf8').strip()
cflags = cflags.replace('-I', '')
return (libs, cflags)
except Exception:
pass