aboutsummaryrefslogtreecommitdiff
path: root/Makefile.rules
diff options
context:
space:
mode:
authorSebastian Pop <spop@codeaurora.org>2012-09-25 21:12:35 +0000
committerSebastian Pop <spop@codeaurora.org>2012-09-25 21:12:35 +0000
commit6ea6ea0568cb9f283f70943b650d47e8996ff7d3 (patch)
tree0a159d19727e277cc4d74285b4475cc7e3eb9fe4 /Makefile.rules
parentea0a298fce37e2de99b8d855bf2014bd2f6d7fe6 (diff)
Add --program-prefix support to build
git-svn-id: https://llvm.org/svn/llvm-project/test-suite/trunk@164632 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.rules')
-rw-r--r--Makefile.rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.rules b/Makefile.rules
index 27dac243..76a2e11a 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -869,7 +869,7 @@ $(TOOLEXENAME_P): $(ObjectsP) $(USED_LIB_PATHS_P) $(LLVM_LIB_PATHS_P) $(DESTTOOL
install:: $(TOOLEXENAMES)
@${ECHO} Installing $(TOOLEXENAMES) to $(DESTDIR)$(bindir)
$(VERB)$(MKDIR) $(DESTDIR)$(bindir)
- $(VERB)$(LIBTOOL) --mode=install $(INSTALL_PROGRAM) -c -m 0755 $(TOOLEXENAMES) $(DESTDIR)$(bindir)/$(TOOLNAME)
+ $(VERB)$(LIBTOOL) --mode=install $(INSTALL_PROGRAM) -c -m 0755 $(TOOLEXENAMES) $(DESTDIR)$(bindir)/$(program_prefix)$(TOOLNAME)
endif