diff options
Diffstat (limited to 'sys-devel/llvm/files/llvm-3.7-lldb_python.patch')
-rw-r--r-- | sys-devel/llvm/files/llvm-3.7-lldb_python.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/sys-devel/llvm/files/llvm-3.7-lldb_python.patch b/sys-devel/llvm/files/llvm-3.7-lldb_python.patch new file mode 100644 index 000000000000..1a958271e187 --- /dev/null +++ b/sys-devel/llvm/files/llvm-3.7-lldb_python.patch @@ -0,0 +1,23 @@ +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 ); + |