Commit 48ef0a8b authored by Lisandro Dalcin's avatar Lisandro Dalcin

Windows: sysconfig.get_config_var('CC') returns None

parent fca2e075
......@@ -109,6 +109,7 @@ def get_openmp_compiler_flags(language):
cc = sysconfig.get_config_var('CXX')
else:
cc = sysconfig.get_config_var('CC')
if not cc: return None # Windows?
# For some reason, cc can be e.g. 'gcc -pthread'
cc = cc.split()[0]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment