diff options
author | Eike Ziller <eike.ziller@qt.io> | 2021-09-13 10:58:11 +0200 |
---|---|---|
committer | Eike Ziller <eike.ziller@qt.io> | 2021-09-15 08:33:07 +0000 |
commit | 9121372f9cf7cd61d5f180e2394df5f454ed4a0b (patch) | |
tree | fc012e0e272887a45c62c3a0094ac996abf994b8 /scripts | |
parent | e8c6a0d470d31c8aab9c9a507605241d9b383cd0 (diff) |
macOS: Remove absolute RPATH from clazy-standalone
Remove the absolute RPATH to somewhere on the build machine,
which creates issues when loading Qt Creator on macOS 10.14,
and of course is bogus in any case.
Fixes: QTCREATORBUG-26196
Change-Id: Ic92deb9b2c6fe32f377fc31004779a2a43794054
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/deployqtHelper_mac.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/deployqtHelper_mac.sh b/scripts/deployqtHelper_mac.sh index ee2a725549..3387b67847 100755 --- a/scripts/deployqtHelper_mac.sh +++ b/scripts/deployqtHelper_mac.sh @@ -169,6 +169,7 @@ if [ $LLVM_INSTALL_DIR ]; then clazysource="$LLVM_INSTALL_DIR"/bin/clazy-standalone cp -Rf "$clazysource" "$libexec_path/clang/bin/" || exit 1 install_name_tool -add_rpath "@executable_path/../lib" "$libexec_path/clang/bin/clazy-standalone" || exit 1 + install_name_tool -delete_rpath "/Users/qt/work/build/libclang/lib" "$libexec_path/clang/bin/clazy-standalone" 2> /dev/null fi clangbackendArgument="-executable=$libexec_path/clangbackend" fi |