about summary refs log tree commit diff
path: root/pkgs/development/compilers/llvm
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2020-01-06 15:42:34 -0500
committerGitHub <noreply@github.com>2020-01-06 15:42:34 -0500
commitcc669a18fb75517a47604889ec9c275afc6dda1b (patch)
tree79da7d683001db83cea1d85a56b4bb3e5ac4af7e /pkgs/development/compilers/llvm
parenta7e2742b50b6be3cbad84ba82b14ed477c574104 (diff)
parent6748dd4ca0a633fea932d3638c45efc8f9f1c8de (diff)
downloadnixlib-cc669a18fb75517a47604889ec9c275afc6dda1b.tar
nixlib-cc669a18fb75517a47604889ec9c275afc6dda1b.tar.gz
nixlib-cc669a18fb75517a47604889ec9c275afc6dda1b.tar.bz2
nixlib-cc669a18fb75517a47604889ec9c275afc6dda1b.tar.lz
nixlib-cc669a18fb75517a47604889ec9c275afc6dda1b.tar.xz
nixlib-cc669a18fb75517a47604889ec9c275afc6dda1b.tar.zst
nixlib-cc669a18fb75517a47604889ec9c275afc6dda1b.zip
Merge pull request #76669 from xbreak/clang-cmake-fix
clang_9: Correct ClangTargets-release.cmake
Diffstat (limited to 'pkgs/development/compilers/llvm')
-rw-r--r--pkgs/development/compilers/llvm/9/clang/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/compilers/llvm/9/clang/default.nix b/pkgs/development/compilers/llvm/9/clang/default.nix
index 12fa33a7f8c4..1b779b118a7f 100644
--- a/pkgs/development/compilers/llvm/9/clang/default.nix
+++ b/pkgs/development/compilers/llvm/9/clang/default.nix
@@ -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