Merge pull request #3529 from pslacerda/fix/3526

Fix build for Termux
This commit is contained in:
Hugo van Kemenade 2019-01-05 12:03:25 +02:00 committed by GitHub
commit 871db4e91a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -111,7 +111,7 @@ def _find_library_dirs_ldconfig():
stdout=subprocess.PIPE,
env=env)
except OSError: # E.g. command not found
return None
return []
[data, _] = p.communicate()
if isinstance(data, bytes):
data = data.decode()