From 8edbc79e7f5cf32307caf609b1a346456f8d9fb4 Mon Sep 17 00:00:00 2001 From: Hugo Date: Thu, 11 Jan 2018 12:45:52 +0200 Subject: [PATCH] Fix "TypeError: 'NoneType' object is not iterable" for PPC and CRUX --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index df80c5d9b..e2c16235b 100755 --- a/setup.py +++ b/setup.py @@ -368,7 +368,7 @@ def build_extensions(self): for platform_ in arch_tp: dirs = libdirs.get(platform_, None) - if not platform_: + if not dirs: continue for path in dirs: _add_directory(library_dirs, path)