[llvm-branch-commits] [cfe-branch] r108490 - /cfe/branches/Apple/whitney-IB/ClangBNI.mk
Daniel Dunbar
daniel at zuster.org
Thu Jul 15 18:22:11 PDT 2010
Author: ddunbar
Date: Thu Jul 15 20:22:11 2010
New Revision: 108490
URL: http://llvm.org/viewvc/llvm-project?rev=108490&view=rev
Log:
Setup root links for libLTO, and make sure to not install any .a files.
Modified:
cfe/branches/Apple/whitney-IB/ClangBNI.mk
Modified: cfe/branches/Apple/whitney-IB/ClangBNI.mk
URL: http://llvm.org/viewvc/llvm-project/cfe/branches/Apple/whitney-IB/ClangBNI.mk?rev=108490&r1=108489&r2=108490&view=diff
==============================================================================
--- cfe/branches/Apple/whitney-IB/ClangBNI.mk (original)
+++ cfe/branches/Apple/whitney-IB/ClangBNI.mk Thu Jul 15 20:22:11 2010
@@ -84,6 +84,8 @@
# Default project (clang).
+# Don't install any archive files.
+Extra_Make_Variables += NO_INSTALL_ARCHIVES=1
# Install root links and license.
Post_Install_RootLinks := 1
Post_Install_OpenSourceLicense := 1
@@ -417,6 +419,10 @@
ln -sf clang.1 $(DSTROOT)/$(Install_Prefix)/share/man/man1/clang++.1; \
ln -sf clang.1 $(DSTROOT)/usr/share/man/man1/clang++.1; \
fi
+ if [ -f $(DSTROOT)/$(Install_Prefix)/lib/libLTO.dylib ]; then \
+ $(MKDIR) -p $(DSTROOT)/usr/lib; \
+ ln -sf ../../$(Install_Prefix)/lib/libLTO.dylib $(DSTROOT)/usr/lib/libLTO.dylib; \
+ fi
install-clang-opensourcelicense: install-clang_final
$(MKDIR) $(OSV)
More information about the llvm-branch-commits
mailing list