From: Mikhail Glushenkov Date: Tue, 3 Mar 2009 10:03:27 +0000 (+0000) Subject: LINK_COMPONENTS should be added to LLVMLibsOptions. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=533384eebdce1f3a804599476930640eb98869cd;p=oota-llvm.git LINK_COMPONENTS should be added to LLVMLibsOptions. From the code: "There are "Proj" libs (defined by the user's project) and "LLVM" libs (defined by the LLVM project)." LINK_COMPONENTS are clearly defined by the LLVM project. Additionally, this fixes an issue with llvmc's build process:-) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65940 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/Makefile.rules b/Makefile.rules index 1dc329d046f..6b271757dcb 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -784,8 +784,8 @@ $(LLVM_CONFIG): $(ToolDir)/$(strip $(TOOLNAME))$(EXEEXT): $(LLVM_CONFIG) -ProjLibsOptions += $(shell $(LLVM_CONFIG) --libs $(LINK_COMPONENTS)) -ProjLibsPaths += $(LLVM_CONFIG) \ +LLVMLibsOptions += $(shell $(LLVM_CONFIG) --libs $(LINK_COMPONENTS)) +LLVMLibsPaths += $(LLVM_CONFIG) \ $(shell $(LLVM_CONFIG) --libfiles $(LINK_COMPONENTS)) endif endif