summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lldb/lit/lit.cfg2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/lit/lit.cfg b/lldb/lit/lit.cfg
index 2489353289f..b25231d7f66 100644
--- a/lldb/lit/lit.cfg
+++ b/lldb/lit/lit.cfg
@@ -78,7 +78,7 @@ if platform.system() in ['Darwin']:
except OSError:
res = -1
if res == 0 and out:
- sdk_path = out
+ sdk_path = lit.util.to_string(out)
lit_config.note('using SDKROOT: %r' % sdk_path)
config.cc += " -isysroot %s" % sdk_path
config.cxx += " -isysroot %s" % sdk_path
OpenPOWER on IntegriCloud