diff options
author | Michael Tokarev <mjt@tls.msk.ru> | 2014-05-08 15:02:29 +0400 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2014-05-08 15:09:04 +0200 |
commit | 8f98aeb9c0d242207603fc9115ea226298d45f12 (patch) | |
tree | 3c0cca6194a9d5c982e6fb0eee4a2f5b6c349214 | |
parent | 2115182f0c3125935b18ee788ef5b36c3c68d911 (diff) |
Makefile.target: use $(INSTALL_PROG) for installing, not $(INSTALL)
$(INSTALL_PROG) is evaluated to libtool if using libtool, while
$(INSTALL) is not. Use $(INSTALL_PROG) so that libtool is used
with target too when necessary. This allows, for example, to
link qemu with shared libcacard.
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Cc: Fam Zheng <famz@redhat.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Alon Levy <alevy@redhat.com>
Cc: qemu-trivial@nongnu.org
--
This is done on top of previous patch (using $(STRIP)), but it can
be used by its own.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
-rw-r--r-- | Makefile.target | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.target b/Makefile.target index 8fc606faba..9986047545 100644 --- a/Makefile.target +++ b/Makefile.target @@ -183,7 +183,7 @@ endif install: all ifneq ($(PROGS),) - $(INSTALL) -m 755 $(PROGS) "$(DESTDIR)$(bindir)" + $(INSTALL_PROG) $(PROGS) "$(DESTDIR)$(bindir)" ifneq ($(STRIP),) $(STRIP) $(PROGS:%="$(DESTDIR)$(bindir)/%") endif |