WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] When installing libblktap, symlinks shoul

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] When installing libblktap, symlinks should be made instead of using
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 25 Jul 2006 13:00:36 +0000
Delivery-date: Tue, 25 Jul 2006 06:03:19 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Node ID 849b8ce387c3878c952cf08de906ab3d7e744616
# Parent  f07effe5097b6356b0f9fb9b75528961e4d7ebb4
When installing libblktap, symlinks should be made instead of using
install on the symlinks (install will follow the symlink)

Signed-off-by: Jeremy Katz <katzj@xxxxxxxxxx>
---
 tools/blktap/lib/Makefile |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff -r f07effe5097b -r 849b8ce387c3 tools/blktap/lib/Makefile
--- a/tools/blktap/lib/Makefile Tue Jul 25 11:41:18 2006 +0100
+++ b/tools/blktap/lib/Makefile Tue Jul 25 11:41:45 2006 +0100
@@ -33,7 +33,7 @@ OBJS     = $(patsubst %.c,%.o,$(SRCS))
 OBJS     = $(patsubst %.c,%.o,$(SRCS))
 IBINS   :=
 
-LIB      = libblktap.a libblktap.so libblktap.so.$(MAJOR) 
libblktap.so.$(MAJOR).$(MINOR)
+LIB      = libblktap.a libblktap.so.$(MAJOR).$(MINOR)
 
 all: build
 
@@ -44,10 +44,12 @@ install: all
        $(INSTALL_DIR) -p $(DESTDIR)/usr/$(LIBDIR)
        $(INSTALL_DIR) -p $(DESTDIR)/usr/include
        $(INSTALL_PROG) $(LIB) $(DESTDIR)/usr/$(LIBDIR)
+       ln -sf libblktap.so.$(MAJOR).$(MINOR) 
$(DESTDIR)/usr/$(LIBDIR)/libblktap.so.$(MAJOR)
+       ln -sf libblktap.so.$(MAJOR) $(DESTDIR)/usr/$(LIBDIR)/libblktap.so
        $(INSTALL_PROG) blktaplib.h $(DESTDIR)/usr/include
 
 clean:
-       rm -rf *.a *.so *.o *.rpm $(LIB) *~ $(DEPS) xen TAGS
+       rm -rf *.a *.so* *.o *.rpm $(LIB) *~ $(DEPS) xen TAGS
 
 libblktap: $(OBJS) 
        $(CC) $(CFLAGS) -Wl,-soname -Wl,$(SONAME) -shared         \

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] When installing libblktap, symlinks should be made instead of using, Xen patchbot-unstable <=