From d3e77ae6b6b24eb650868019040ef3e228eccbed Mon Sep 17 00:00:00 2001 From: Michael Young Date: Tue, 1 Feb 2011 19:19:58 +0000 Subject: 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 Committed-by: Ian Jackson --- tools/blktap2/vhd/lib/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/blktap2') diff --git a/tools/blktap2/vhd/lib/Makefile b/tools/blktap2/vhd/lib/Makefile index 12e7510d4b..6f5f04c1c1 100644 --- a/tools/blktap2/vhd/lib/Makefile +++ b/tools/blktap2/vhd/lib/Makefile @@ -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 -- cgit v1.2.3