diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-02-05 18:46:09 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-02-05 18:46:09 +0000 |
| commit | 5ab25b6657e7ff9e57ff66e55cb884ca9bb3d653 (patch) | |
| tree | 379542e63e5d3a0902d963b06ff49158f41c69a0 /wscript | |
| parent | cec6fc5d9f905b5246ea449b850503f47ee912fc (diff) | |
Another try at fixing Arch build.
Diffstat (limited to 'wscript')
| -rw-r--r-- | wscript | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -271,17 +271,17 @@ def configure(conf): if conf.options.static_ffmpeg: names = ['avformat', 'avfilter', 'avcodec', 'avutil', 'swscale', 'postproc'] for name in names: - static = subprocess.Popen(shlex.split('pkg-config --static --libs lib%s' % name), stdout=subprocess.PIPE).communicate()[0] + static = subprocess.Popen(shlex.split('pkg-config --static --libs lib%s' % name), stdout=subprocess.PIPE).communicate()[0].decode('utf-8') libs = [] stlibs = [] include = [] libpath = [] for s in static.split(): - if s.startswith(b'-L'): + if s.startswith('-L'): libpath.append(s[2:]) - elif s.startswith(b'-I'): + elif s.startswith('-I'): include.append(s[2:]) - elif s.startswith(b'-l'): + elif s.startswith('-l'): if s[2:] not in names: libs.append(s[2:]) else: |
