diff --git a/setup.py b/setup.py index 9be66e115..79f912b12 100755 --- a/setup.py +++ b/setup.py @@ -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()