mirror of
				https://git.proxmox.com/git/llvm-toolchain
				synced 2025-10-31 10:24:01 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			17 lines
		
	
	
		
			971 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			971 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
| Author: Gianfranco Costamagna <locutusofborg@debian.org>
 | |
| Last-Update: 2020-01-21
 | |
| 
 | |
| Index: llvm-toolchain-snapshot_14~++20210731093534+61da95e8a16a/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
 | |
| ===================================================================
 | |
| --- llvm-toolchain-snapshot_14~++20210731093534+61da95e8a16a.orig/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
 | |
| +++ llvm-toolchain-snapshot_14~++20210731093534+61da95e8a16a/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
 | |
| @@ -384,6 +384,8 @@ void ScriptInterpreterPython::ComputePyt
 | |
|    // x86_64, or bin on Windows).
 | |
|    llvm::sys::path::remove_filename(path);
 | |
|    llvm::sys::path::append(path, LLDB_PYTHON_RELATIVE_LIBDIR);
 | |
| +  // remove double "lib/lib" statement
 | |
| +  std::replace(path.begin(), path.end(), '/lib/lib/', '/lib/');
 | |
|  
 | |
|  #if defined(_WIN32)
 | |
|    // This will be injected directly through FileSpec.GetDirectory().SetString(),
 | 
