Commit 7d23c505 authored by Eike Ziller's avatar Eike Ziller

Fix deployment of clang library

Since the plugins moved in 6aad96d8,
the rpath of the clang code model plugin was broken for deployed clang library.

Change-Id: I5d59390540918c73a2cd217bb5ebf8f947122f01
Reviewed-by: default avatarErik Verbruggen <erik.verbruggen@digia.com>
parent 83378d2a
......@@ -60,6 +60,6 @@ if [ $LLVM_INSTALL_DIR ]; then
if [ ! -f "$_CLANG_CODEMODEL_LIB" ]; then
_CLANG_CODEMODEL_LIB="$1/Contents/PlugIns/libClangCodeModel.dylib"
fi
xcrun install_name_tool -rpath "$LLVM_INSTALL_DIR/lib" "@loader_path/.." "$_CLANG_CODEMODEL_LIB" || true
xcrun install_name_tool -rpath "$LLVM_INSTALL_DIR/lib" "@loader_path" "$_CLANG_CODEMODEL_LIB" || true
fi
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment