]> granicus.if.org Git - clang/commitdiff
Change install_name for libclang.dylib to '@rpath/libclang.dylib'. Fixes <rdar:...
authorTed Kremenek <kremenek@apple.com>
Fri, 14 May 2010 23:50:33 +0000 (23:50 +0000)
committerTed Kremenek <kremenek@apple.com>
Fri, 14 May 2010 23:50:33 +0000 (23:50 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@103837 91177308-0d34-0410-b5e6-96231b3b80d8

tools/libclang/Makefile

index a7877bf8e16bf713c64f7e44e9a8f9b38e717480..ff0fa33e41ebfd7373721d8fecdb7d6743f8443c 100644 (file)
@@ -50,6 +50,6 @@ ifeq ($(HOST_OS),Darwin)
     ifneq ($(DARWIN_VERS),8)
        LLVMLibsOptions    := $(LLVMLibsOptions)  \
                             -no-undefined -Wl,-install_name \
-                            -Wl,"@executable_path/../lib/lib$(LIBRARYNAME)$(SHLIBEXT)"
+                            -Wl,"@rpath/lib$(LIBRARYNAME)$(SHLIBEXT)"
     endif
 endif