[Lldb-commits] [lldb] r185466 - Fix build with LLVM_DISABLE_PYTHON

Ed Maste emaste at freebsd.org
Tue Jul 2 12:30:52 PDT 2013


Author: emaste
Date: Tue Jul  2 14:30:52 2013
New Revision: 185466

URL: http://llvm.org/viewvc/llvm-project?rev=185466&view=rev
Log:
Fix build with LLVM_DISABLE_PYTHON


Modified:
    lldb/trunk/source/Host/common/Host.cpp

Modified: lldb/trunk/source/Host/common/Host.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Host/common/Host.cpp?rev=185466&r1=185465&r2=185466&view=diff
==============================================================================
--- lldb/trunk/source/Host/common/Host.cpp (original)
+++ lldb/trunk/source/Host/common/Host.cpp Tue Jul  2 14:30:52 2013
@@ -995,6 +995,7 @@ Host::GetLLDBPath (PathType path_type, F
         }
         break;
 
+#ifndef LLDB_DISABLE_PYTHON
     case ePathTypePythonDir:                
         {
             static ConstString g_lldb_python_dir;
@@ -1037,7 +1038,8 @@ Host::GetLLDBPath (PathType path_type, F
             return file_spec.GetDirectory();
         }
         break;
-    
+#endif
+
     case ePathTypeLLDBSystemPlugins:    // System plug-ins directory
         {
 #if defined (__APPLE__)





More information about the lldb-commits mailing list