summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--unixccompiler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/unixccompiler.py b/unixccompiler.py
index d10a78da..4d7a6de7 100644
--- a/unixccompiler.py
+++ b/unixccompiler.py
@@ -288,7 +288,7 @@ class UnixCCompiler(CCompiler):
# vs
# /usr/lib/libedit.dylib
cflags = sysconfig.get_config_var('CFLAGS')
- m = re.search(r'-isysroot\s+(\S+)', cflags)
+ m = re.search(r'-isysroot\s*(\S+)', cflags)
if m is None:
sysroot = '/'
else: