diff options
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
-rw-r--r-- | lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp b/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp index 8729a7353e9..2a196ab1cc8 100644 --- a/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp +++ b/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp @@ -7,6 +7,12 @@ // //===----------------------------------------------------------------------===// +#ifdef LLDB_DISABLE_PYTHON + +// Python is disabled in this build + +#else + // LLDB Python header must be included first #include "lldb-python.h" @@ -3200,3 +3206,5 @@ void ScriptInterpreterPython::AddToSysPath(AddLocation location, // when the process exits). // // void ScriptInterpreterPython::Terminate() { Py_Finalize (); } + +#endif // LLDB_DISABLE_PYTHON |