mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
clang_9: Correct ClangTargets-release.cmake
Since commit 4271020
libclang-cpp is also moved to $lib. This adds the missing
substitution in ClangTargets-release.cmake.
This commit is contained in:
parent
be90b35b9e
commit
6748dd4ca0
1 changed files with 2 additions and 1 deletions
|
@ -73,7 +73,8 @@ let
|
|||
moveToOutput "lib/libclang.*" "$lib"
|
||||
moveToOutput "lib/libclang-cpp.*" "$lib"
|
||||
substituteInPlace $out/lib/cmake/clang/ClangTargets-release.cmake \
|
||||
--replace "\''${_IMPORT_PREFIX}/lib/libclang." "$lib/lib/libclang."
|
||||
--replace "\''${_IMPORT_PREFIX}/lib/libclang." "$lib/lib/libclang." \
|
||||
--replace "\''${_IMPORT_PREFIX}/lib/libclang-cpp." "$lib/lib/libclang-cpp."
|
||||
|
||||
mkdir -p $python/bin $python/share/clang/
|
||||
mv $out/bin/{git-clang-format,scan-view} $python/bin
|
||||
|
|
Loading…
Reference in a new issue