diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2007-02-04 22:12:25 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2007-02-04 22:12:25 +0000 |
commit | 54100d73700ca4045ff244c01002a9ad0879c43d (patch) | |
tree | f46e264e2e7e1a79b4425fd189aae8e12eb307d8 /Makefile.rules | |
parent | d7fc4f6f7e16a1b214bb8f7f1fb2baa8a1a51a4b (diff) | |
download | external_llvm-54100d73700ca4045ff244c01002a9ad0879c43d.zip external_llvm-54100d73700ca4045ff244c01002a9ad0879c43d.tar.gz external_llvm-54100d73700ca4045ff244c01002a9ad0879c43d.tar.bz2 |
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
Diffstat (limited to 'Makefile.rules')
-rw-r--r-- | Makefile.rules | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.rules b/Makefile.rules index 2b9b7fa..0e586a8 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 |