[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] When installing libblktap, symlinks should be made instead of using
# 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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |