forked from OSchip/llvm-project
Now that llvm's build system sets -install_name, we don't need to.
llvm-svn: 202500
This commit is contained in:
parent
c80968e954
commit
d0151cebcf
|
@ -105,8 +105,5 @@ if(ENABLE_SHARED)
|
|||
|
||||
set_property(TARGET libclang APPEND_STRING PROPERTY
|
||||
LINK_FLAGS ${LIBCLANG_LINK_FLAGS})
|
||||
set_target_properties(libclang
|
||||
PROPERTIES
|
||||
INSTALL_NAME_DIR "@rpath")
|
||||
endif()
|
||||
endif()
|
||||
|
|
|
@ -50,13 +50,6 @@ ifeq ($(HOST_OS),Darwin)
|
|||
-Wl,$(LLVM_SUBMIT_VERSION).$(LLVM_SUBMIT_SUBVERSION)
|
||||
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.
|
||||
ifeq ($(RC_XBS),YES)
|
||||
TempFile := $(shell mkdir -p ${OBJROOT}/dSYMs ; mktemp ${OBJROOT}/dSYMs/clang-lto.XXXXXX)
|
||||
|
|
Loading…
Reference in New Issue