diff options
Diffstat (limited to 'lldb/source/Host/common/Host.cpp')
| -rw-r--r-- | lldb/source/Host/common/Host.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lldb/source/Host/common/Host.cpp b/lldb/source/Host/common/Host.cpp index a415bad3a3c..7ac33801612 100644 --- a/lldb/source/Host/common/Host.cpp +++ b/lldb/source/Host/common/Host.cpp @@ -1055,8 +1055,11 @@ Host::GetLLDBPath (PathType path_type, FileSpec &file_spec) } break; -#ifndef LLDB_DISABLE_PYTHON - case ePathTypePythonDir: +#ifdef LLDB_DISABLE_PYTHON + case ePathTypePythonDir: + return false; +#else + case ePathTypePythonDir: { static ConstString g_lldb_python_dir; if (!g_lldb_python_dir) |

