Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix the Windows build

  • Loading branch information...
commit 3e5139fd2f2df5ef5f532266e5015be8b0033b48 1 parent c6843f4
@piscisaureus piscisaureus authored
Showing with 5 additions and 1 deletion.
  1. +5 −1 configure
View
6 configure
@@ -264,7 +264,11 @@ def target_arch():
def compiler_version():
- proc = subprocess.Popen(CC.split() + ['--version'], stdout=subprocess.PIPE)
+ try:
+ proc = subprocess.Popen(CC.split() + ['--version'], stdout=subprocess.PIPE)
+ except WindowsError:
+ return (0, False)
+
is_clang = 'clang' in proc.communicate()[0].split('\n')[0]
proc = subprocess.Popen(CC.split() + ['-dumpversion'], stdout=subprocess.PIPE)
Please sign in to comment.
Something went wrong with that request. Please try again.