From 9121372f9cf7cd61d5f180e2394df5f454ed4a0b Mon Sep 17 00:00:00 2001 From: Eike Ziller Date: Mon, 13 Sep 2021 10:58:11 +0200 Subject: [PATCH] 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 --- scripts/deployqtHelper_mac.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/deployqtHelper_mac.sh b/scripts/deployqtHelper_mac.sh index ee2a725549a..3387b678479 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