LINK_COMPONENTS should be added to LLVMLibsOptions.
authorMikhail Glushenkov <foldr@codedgers.com>
Tue, 3 Mar 2009 10:03:27 +0000 (10:03 +0000)
committerMikhail Glushenkov <foldr@codedgers.com>
Tue, 3 Mar 2009 10:03:27 +0000 (10:03 +0000)
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

index 1dc329d046fa6c100907f5822fadb4a454d3c930..6b271757dcbc8860801e8df607722b2918ccbf0c 100644 (file)
@@ -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