forked from qt-creator/qt-creator
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>
This commit is contained in:
@@ -169,6 +169,7 @@ if [ $LLVM_INSTALL_DIR ]; then
|
|||||||
clazysource="$LLVM_INSTALL_DIR"/bin/clazy-standalone
|
clazysource="$LLVM_INSTALL_DIR"/bin/clazy-standalone
|
||||||
cp -Rf "$clazysource" "$libexec_path/clang/bin/" || exit 1
|
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 -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
|
fi
|
||||||
clangbackendArgument="-executable=$libexec_path/clangbackend"
|
clangbackendArgument="-executable=$libexec_path/clangbackend"
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user