Use @rpath for ASan dylib in Makefiles
authorKuba Brecka <kuba.brecka@gmail.com>
Fri, 7 Nov 2014 22:27:43 +0000 (22:27 +0000)
committerKuba Brecka <kuba.brecka@gmail.com>
Fri, 7 Nov 2014 22:27:43 +0000 (22:27 +0000)
Reviewed at http://reviews.llvm.org/D6176

llvm-svn: 221557

clang/runtime/compiler-rt/Makefile

index ccd83a3..0211f50 100644 (file)
@@ -221,8 +221,6 @@ $(ResourceLibDir)/$1/libclang_rt.%.dylib: \
                $(ResourceLibDir)/$1/.dir
        $(Echo) Copying runtime library $1/$$* to build dir
        $(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.Configs:%=$(ResourceLibDir)/$1/libclang_rt.%)
 .PHONY: RuntimeLibrary.$1