Now that llvm's build system sets -install_name, we don't need to.

llvm-svn: 202500
This commit is contained in:
Rafael Espindola 2014-02-28 13:50:15 +00:00
parent c80968e954
commit d0151cebcf
2 changed files with 0 additions and 10 deletions

View File

@ -105,8 +105,5 @@ if(ENABLE_SHARED)
set_property(TARGET libclang APPEND_STRING PROPERTY set_property(TARGET libclang APPEND_STRING PROPERTY
LINK_FLAGS ${LIBCLANG_LINK_FLAGS}) LINK_FLAGS ${LIBCLANG_LINK_FLAGS})
set_target_properties(libclang
PROPERTIES
INSTALL_NAME_DIR "@rpath")
endif() endif()
endif() endif()

View File

@ -50,13 +50,6 @@ ifeq ($(HOST_OS),Darwin)
-Wl,$(LLVM_SUBMIT_VERSION).$(LLVM_SUBMIT_SUBVERSION) -Wl,$(LLVM_SUBMIT_VERSION).$(LLVM_SUBMIT_SUBVERSION)
endif endif
# Mac OS X 10.4 and earlier tools do not allow a second -install_name on command line
DARWIN_VERS := $(shell echo $(TARGET_TRIPLE) | sed 's/.*darwin\([0-9]*\).*/\1/')
ifneq ($(DARWIN_VERS),8)
LLVMLibsOptions += -Wl,-install_name \
-Wl,"@rpath/lib$(LIBRARYNAME)$(SHLIBEXT)"
endif
# If we're doing an Apple-style build, add the LTO object path. # If we're doing an Apple-style build, add the LTO object path.
ifeq ($(RC_XBS),YES) ifeq ($(RC_XBS),YES)
TempFile := $(shell mkdir -p ${OBJROOT}/dSYMs ; mktemp ${OBJROOT}/dSYMs/clang-lto.XXXXXX) TempFile := $(shell mkdir -p ${OBJROOT}/dSYMs ; mktemp ${OBJROOT}/dSYMs/clang-lto.XXXXXX)