diff -Naur llvm-3.7.0.src.orig/tools/lldb/scripts/Python/finishSwigPythonLLDB.py llvm-3.7.0.src/tools/lldb/scripts/Python/finishSwigPythonLLDB.py --- llvm-3.7.0.src.orig/tools/lldb/scripts/Python/finishSwigPythonLLDB.py 2015-06-04 05:12:37.000000000 +0200 +++ llvm-3.7.0.src/tools/lldb/scripts/Python/finishSwigPythonLLDB.py 2015-10-11 19:19:54.074935710 +0200 @@ -371,14 +371,14 @@ strLibFileExtn = ".dylib"; else: strLibFileExtn = ".so"; - strSrc = os.path.join("lib", "liblldb" + strLibFileExtn); + strSrc = os.path.join("GENTOO_LIBDIR", "liblldb" + strLibFileExtn); - if eOSType != utilsOsType.EnumOsType.Windows: +# if eOSType != utilsOsType.EnumOsType.Windows: # Create a symlink to the "lib" directory, to ensure liblldb's RPATH is # effective. - bOk, strErrMsg = make_symlink( vDictArgs, vstrFrameworkPythonDir, "lib", os.path.join("../lib") ); - if not bOk: - return (bOk, strErrMsg) +# bOk, strErrMsg = make_symlink( vDictArgs, vstrFrameworkPythonDir, "lib", os.path.join("../lib") ); +# if not bOk: +# return (bOk, strErrMsg) bOk, strErrMsg = make_symlink( vDictArgs, vstrFrameworkPythonDir, strSrc, strTarget );