llvmPackages: remove _IMPORT_PREFIX replacements
These strings do not show up in the files where they are attempting to be replaced.
This commit is contained in:
@@ -102,16 +102,6 @@ let
|
||||
# Move libclang to 'lib' output
|
||||
moveToOutput "lib/libclang.*" "$lib"
|
||||
moveToOutput "lib/libclang-cpp.*" "$lib"
|
||||
'' + (if lib.versionOlder release_version "15" then ''
|
||||
substituteInPlace $out/lib/cmake/clang/ClangTargets-release.cmake \
|
||||
--replace-fail "\''${_IMPORT_PREFIX}/lib/libclang." "$lib/lib/libclang." \
|
||||
--replace-fail "\''${_IMPORT_PREFIX}/lib/libclang-cpp." "$lib/lib/libclang-cpp."
|
||||
'' else ''
|
||||
substituteInPlace $dev/lib/cmake/clang/ClangTargets-release.cmake \
|
||||
--replace-fail "\''${_IMPORT_PREFIX}/lib/libclang." "$lib/lib/libclang." \
|
||||
--replace-fail "\''${_IMPORT_PREFIX}/lib/libclang-cpp." "$lib/lib/libclang-cpp."
|
||||
'') + ''
|
||||
|
||||
'' + (if lib.versionOlder release_version "15" then ''
|
||||
mkdir -p $python/bin $python/share/{clang,scan-view}
|
||||
'' else ''
|
||||
|
||||
Reference in New Issue
Block a user