forked from mirrors/nixpkgs
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
|
@ -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