Skip to content
Snippets Groups Projects
Commit 64f15a10 authored by Kuba Brecka's avatar Kuba Brecka
Browse files

Use @rpath for ASan dylib in Makefiles

Reviewed at http://reviews.llvm.org/D6176




git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@221557 91177308-0d34-0410-b5e6-96231b3b80d8
parent f7a6c467
No related branches found
No related tags found
No related merge requests found
...@@ -221,8 +221,6 @@ $(ResourceLibDir)/$1/libclang_rt.%.dylib: \ ...@@ -221,8 +221,6 @@ $(ResourceLibDir)/$1/libclang_rt.%.dylib: \
$(ResourceLibDir)/$1/.dir $(ResourceLibDir)/$1/.dir
$(Echo) Copying runtime library $1/$$* to build dir $(Echo) Copying runtime library $1/$$* to build dir
$(Verb) cp $(PROJ_OBJ_DIR)/clang_$1/$$*/libcompiler_rt.dylib $$@ $(Verb) cp $(PROJ_OBJ_DIR)/clang_$1/$$*/libcompiler_rt.dylib $$@
$(Echo) Fixing LC_ID_DYLIB of $$@
$(Verb) install_name_tool $$@ -id $$@
RuntimeLibrary.$1: \ RuntimeLibrary.$1: \
$(RuntimeLibrary.$1.Configs:%=$(ResourceLibDir)/$1/libclang_rt.%) $(RuntimeLibrary.$1.Configs:%=$(ResourceLibDir)/$1/libclang_rt.%)
.PHONY: RuntimeLibrary.$1 .PHONY: RuntimeLibrary.$1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment