diff options
Diffstat (limited to 'lldb/source/Host/common/Host.cpp')
| -rw-r--r-- | lldb/source/Host/common/Host.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lldb/source/Host/common/Host.cpp b/lldb/source/Host/common/Host.cpp index 79ae92ace4d..0006a61df0c 100644 --- a/lldb/source/Host/common/Host.cpp +++ b/lldb/source/Host/common/Host.cpp @@ -1152,6 +1152,10 @@ Host::GetLLDBPath (PathType path_type, FileSpec &file_spec) { char raw_path[PATH_MAX]; char resolved_path[PATH_MAX]; +#if defined(_WIN32) + lldb_file_spec.AppendPathComponent("../lib/site-packages"); + lldb_file_spec.GetPath(raw_path, sizeof(raw_path)); +#else lldb_file_spec.GetPath(raw_path, sizeof(raw_path)); #if defined (__APPLE__) @@ -1174,7 +1178,7 @@ Host::GetLLDBPath (PathType path_type, FileSpec &file_spec) ::strncat(raw_path, python_version_dir.c_str(), sizeof(raw_path) - strlen(raw_path) - 1); - +#endif #if defined (__APPLE__) } #endif |

