mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 15:44:20 +00:00
e458a01401
The purpose of this package is to continuously improve the LLVM packaging in Nixpkgs without causing a lot of rebuilds and provide more recent LLVM builds for users. For more details see: https://github.com/NixOS/nixpkgs/issues/114828
14 lines
809 B
Diff
14 lines
809 B
Diff
diff --git a/lldb/cmake/modules/LLDBConfig.cmake b/lldb/cmake/modules/LLDBConfig.cmake
|
|
index 37364341ff8b..7f74c1a3e257 100644
|
|
--- a/cmake/modules/LLDBConfig.cmake
|
|
+++ b/cmake/modules/LLDBConfig.cmake
|
|
@@ -257,7 +257,7 @@ if (NOT TARGET clang-resource-headers)
|
|
# Iterate over the possible places where the external resource directory
|
|
# could be and pick the first that exists.
|
|
foreach(CANDIDATE "${Clang_DIR}/../.." "${LLVM_DIR}" "${LLVM_LIBRARY_DIRS}"
|
|
- "${LLVM_BUILD_LIBRARY_DIR}"
|
|
+ "${LLVM_BUILD_LIBRARY_DIR}" "@clangLibDir@"
|
|
"${LLVM_BINARY_DIR}/lib${LLVM_LIBDIR_SUFFIX}")
|
|
# Build the resource directory path by appending 'clang/<version number>'.
|
|
set(CANDIDATE_RESOURCE_DIR "${CANDIDATE}/clang/${LLDB_CLANG_RESOURCE_DIR_NAME}")
|