[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] tools/Makefiles: install libvhd and libblktap with INSTALL_PROG



# HG changeset patch
# User Michael Young <m.a.young@xxxxxxxxxxxx>
# Date 1296587998 0
# Node ID 923e60b7318c41a2a18e3f535b9023c12a0a8968
# Parent  b84f33452d433d8bc127e6e22c60a251e28ea0b1
tools/Makefiles: install libvhd and libblktap with INSTALL_PROG

Shared libraries should be executable.

(rpm (4.9.0) doesn't automatically supply a "provides" entry for a
library unless it is executable.  Non-executable libraries can cause
other trouble too.)

Signed-off-by: Michael Young <m.a.young@xxxxxxxxxxxx>
Committed-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---
 tools/blktap/lib/Makefile      |    2 +-
 tools/blktap2/vhd/lib/Makefile |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff -r b84f33452d43 -r 923e60b7318c tools/blktap/lib/Makefile
--- a/tools/blktap/lib/Makefile Tue Feb 01 19:18:42 2011 +0000
+++ b/tools/blktap/lib/Makefile Tue Feb 01 19:19:58 2011 +0000
@@ -36,7 +36,7 @@ install: all
 install: all
        $(INSTALL_DIR) $(DESTDIR)$(LIBDIR)
        $(INSTALL_DIR) $(DESTDIR)$(INCLUDEDIR)
-       $(INSTALL_DATA) $(LIB) $(DESTDIR)$(LIBDIR)
+       $(INSTALL_PROG) $(LIB) $(DESTDIR)$(LIBDIR)
        ln -sf libblktap.so.$(MAJOR).$(MINOR) 
$(DESTDIR)$(LIBDIR)/libblktap.so.$(MAJOR)
        ln -sf libblktap.so.$(MAJOR) $(DESTDIR)$(LIBDIR)/libblktap.so
        $(INSTALL_DATA) blktaplib.h $(DESTDIR)$(INCLUDEDIR)
diff -r b84f33452d43 -r 923e60b7318c tools/blktap2/vhd/lib/Makefile
--- a/tools/blktap2/vhd/lib/Makefile    Tue Feb 01 19:18:42 2011 +0000
+++ b/tools/blktap2/vhd/lib/Makefile    Tue Feb 01 19:19:58 2011 +0000
@@ -63,7 +63,7 @@ libvhd.a: $(LIB-OBJS)
 
 install: all
        $(INSTALL_DIR) -p $(DESTDIR)$(INST-DIR)
-       $(INSTALL_DATA) $(LIBVHD) $(DESTDIR)$(INST-DIR)
+       $(INSTALL_PROG) $(LIBVHD) $(DESTDIR)$(INST-DIR)
        ln -sf libvhd.so.$(LIBVHD-MAJOR).$(LIBVHD-MINOR) 
$(DESTDIR)$(INST-DIR)/libvhd.so.$(LIBVHD-MAJOR)
        ln -sf libvhd.so.$(LIBVHD-MAJOR) $(DESTDIR)$(INST-DIR)/libvhd.so
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.