From: Reid Spencer Date: Sun, 4 Feb 2007 22:12:25 +0000 (+0000) Subject: When using LINK_COMPONENTS, append the components to the end of the X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=54100d73700ca4045ff244c01002a9ad0879c43d;p=oota-llvm.git When using LINK_COMPONENTS, append the components to the end of the libraries linked with. This permits a project to still use USEDLIBS to specify its own libraries in conjunction with LINK_COMPONENTS. llvm-stacker needs this after libLLVMTransforms.a went away. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33886 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/Makefile.rules b/Makefile.rules index 2b9b7fa1fc8..0e586a87f9c 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -681,8 +681,8 @@ $(LLVM_CONFIG): $(ToolDir)/$(strip $(TOOLNAME))$(EXEEXT): $(LLVM_CONFIG) -ProjLibsOptions = $(shell $(LLVM_CONFIG) --libs $(LINK_COMPONENTS)) -ProjLibsPaths = $(LLVM_CONFIG) \ +ProjLibsOptions += $(shell $(LLVM_CONFIG) --libs $(LINK_COMPONENTS)) +ProjLibsPaths += $(LLVM_CONFIG) \ $(shell $(LLVM_CONFIG) --libfiles $(LINK_COMPONENTS)) endif endif