diff options
author | Michael Tokarev | 2014-05-08 13:06:03 +0200 |
---|---|---|
committer | Paolo Bonzini | 2014-05-08 15:09:04 +0200 |
commit | 264f8b4fdc7b4ef304c426589b7fe198ca693823 (patch) | |
tree | 3b80a6b26978f69459c9bca5059d8f7afe24cd37 /Makefile | |
parent | Makefile.target: use $(INSTALL_PROG) for installing, not $(INSTALL) (diff) | |
download | qemu-264f8b4fdc7b4ef304c426589b7fe198ca693823.tar.gz qemu-264f8b4fdc7b4ef304c426589b7fe198ca693823.tar.xz qemu-264f8b4fdc7b4ef304c426589b7fe198ca693823.zip |
Makefile: use $(INSTALL_LIB) for modules not $(INSTALL_PROG)
We have $(INSTALL_LIB) which is the same as $(INSTALL_PROG) but
uses correct permissions. Loadable objects (modules) are like
shared libraries, not like programs.
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Cc: Fam Zheng <famz@redhat.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -381,7 +381,7 @@ ifneq ($(CONFIG_MODULES),) $(INSTALL_DIR) "$(DESTDIR)$(qemu_moddir)" for s in $(modules-m:.mo=$(DSOSUF)); do \ t="$(DESTDIR)$(qemu_moddir)/$$(echo $$s | tr / -)"; \ - $(INSTALL_PROG) $$s "$$t"; \ + $(INSTALL_LIB) $$s "$$t"; \ test -z "$(STRIP)" || $(STRIP) "$$t"; \ done endif |