From 533384eebdce1f3a804599476930640eb98869cd Mon Sep 17 00:00:00 2001 From: Mikhail Glushenkov Date: Tue, 3 Mar 2009 10:03:27 +0000 Subject: [PATCH] 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 --- Makefile.rules | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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