diff options
author | tcmal <oscar.shrimpton.personal@gmail.com> | 2021-06-08 13:36:06 +0100 |
---|---|---|
committer | tcmal <oscar.shrimpton.personal@gmail.com> | 2021-06-08 13:36:06 +0100 |
commit | e097f7efc77726a17acca7be3e6e2346331883f3 (patch) | |
tree | eb66e9b680f797cf82bca1d0d6a47f0cc6a268cd /pkgs/development/compilers/llvm/9/lldb/gnu-install-dirs.patch | |
parent | 602163952d956b5614ad7794e8ec277fd10bd5b3 (diff) | |
download | nixpkgs-e097f7efc77726a17acca7be3e6e2346331883f3.tar nixpkgs-e097f7efc77726a17acca7be3e6e2346331883f3.tar.gz nixpkgs-e097f7efc77726a17acca7be3e6e2346331883f3.tar.bz2 nixpkgs-e097f7efc77726a17acca7be3e6e2346331883f3.tar.lz nixpkgs-e097f7efc77726a17acca7be3e6e2346331883f3.tar.xz nixpkgs-e097f7efc77726a17acca7be3e6e2346331883f3.tar.zst nixpkgs-e097f7efc77726a17acca7be3e6e2346331883f3.zip |
lldb: fix python lldb library
_lldb.so is now properly symlinked to the shared library. applies to lldb 8 through 12. fixes #125183
Diffstat (limited to 'pkgs/development/compilers/llvm/9/lldb/gnu-install-dirs.patch')
-rw-r--r-- | pkgs/development/compilers/llvm/9/lldb/gnu-install-dirs.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/pkgs/development/compilers/llvm/9/lldb/gnu-install-dirs.patch b/pkgs/development/compilers/llvm/9/lldb/gnu-install-dirs.patch index cb4e400b367..a482aac5779 100644 --- a/pkgs/development/compilers/llvm/9/lldb/gnu-install-dirs.patch +++ b/pkgs/development/compilers/llvm/9/lldb/gnu-install-dirs.patch @@ -63,3 +63,16 @@ index b5316540fdf3..3c3c882d503f 100644 install(TARGETS lldbIntelFeatures - LIBRARY DESTINATION lib${LLVM_LIBDIR_SUFFIX}) + LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}${LLVM_LIBDIR_SUFFIX}) +diff --git a/CMakeLists.txt b/CMakeLists.txt +index cdf22c4..d56fc6a 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -146,7 +146,7 @@ if (NOT LLDB_DISABLE_PYTHON) + --cfgBldDir=${lldb_scripts_dir} + --prefix=${CMAKE_BINARY_DIR} + --cmakeBuildConfiguration=${CMAKE_CFG_INTDIR} +- --lldbLibDir=lib${LLVM_LIBDIR_SUFFIX} ++ --lldbLibDir=${CMAKE_INSTALL_LIBDIR}${LLVM_LIBDIR_SUFFIX} + ${use_python_wrapper_from_src_dir} + ${use_six_py_from_system} + VERBATIM |