forked from OSchip/llvm-project
Handle ePathTypePythonDir even in the case of LLDB_DISABLE_PYTHON,
otherwise -Werror builds may fail. llvm-svn: 191385
This commit is contained in:
parent
7278edc5b4
commit
c75987637b
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue