r202500 - Now that llvm's build system sets -install_name, we don't need to.
Rafael Espindola
rafael.espindola at gmail.com
Fri Feb 28 05:50:15 PST 2014
Author: rafael
Date: Fri Feb 28 07:50:15 2014
New Revision: 202500
URL: http://llvm.org/viewvc/llvm-project?rev=202500&view=rev
Log:
Now that llvm's build system sets -install_name, we don't need to.
Modified:
cfe/trunk/tools/libclang/CMakeLists.txt
cfe/trunk/tools/libclang/Makefile
Modified: cfe/trunk/tools/libclang/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/libclang/CMakeLists.txt?rev=202500&r1=202499&r2=202500&view=diff
==============================================================================
--- cfe/trunk/tools/libclang/CMakeLists.txt (original)
+++ cfe/trunk/tools/libclang/CMakeLists.txt Fri Feb 28 07:50:15 2014
@@ -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()
Modified: cfe/trunk/tools/libclang/Makefile
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/libclang/Makefile?rev=202500&r1=202499&r2=202500&view=diff
==============================================================================
--- cfe/trunk/tools/libclang/Makefile (original)
+++ cfe/trunk/tools/libclang/Makefile Fri Feb 28 07:50:15 2014
@@ -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)
More information about the cfe-commits
mailing list