diff options
author | kaf24@scramble.cl.cam.ac.uk <kaf24@scramble.cl.cam.ac.uk> | 2005-01-28 23:19:23 +0000 |
---|---|---|
committer | kaf24@scramble.cl.cam.ac.uk <kaf24@scramble.cl.cam.ac.uk> | 2005-01-28 23:19:23 +0000 |
commit | 085a587c38e8aee53fbc420e2f2531777b79d9c2 (patch) | |
tree | 03b759e9d7d30f9ab2752be1af212b08ca63935a | |
parent | dbb2d95b1d17436180618de305c8d9ac9bf9433e (diff) | |
download | xen-085a587c38e8aee53fbc420e2f2531777b79d9c2.tar.gz xen-085a587c38e8aee53fbc420e2f2531777b79d9c2.tar.bz2 xen-085a587c38e8aee53fbc420e2f2531777b79d9c2.zip |
bitkeeper revision 1.1159.223.51 (41fac87bR5uD5TAFu58tuaTMLSmbrw)
Fix makefiles creating copies instead of symlinks of shared libs.
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: Keir Fraser <keir.fraser@intel.com>
-rw-r--r-- | tools/libxc/Makefile | 2 | ||||
-rw-r--r-- | tools/libxutil/Makefile | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/libxc/Makefile b/tools/libxc/Makefile index e27556349e..6369785d68 100644 --- a/tools/libxc/Makefile +++ b/tools/libxc/Makefile @@ -68,7 +68,7 @@ mk-symlinks: install: all [ -d $(DESTDIR)/usr/lib ] || $(INSTALL_DIR) $(DESTDIR)/usr/lib [ -d $(DESTDIR)/usr/include ] || $(INSTALL_DIR) $(DESTDIR)/usr/include - $(INSTALL_PROG) $(LIB) $(DESTDIR)/usr/lib + $(INSTALL_PROG) libxc.so.$(MAJOR).$(MINOR) $(DESTDIR)/usr/lib ln -sf libxc.so.$(MAJOR).$(MINOR) $(DESTDIR)/usr/lib/libxc.so.$(MAJOR) ln -sf libxc.so.$(MAJOR) $(DESTDIR)/usr/lib/libxc.so $(INSTALL_DATA) xc.h $(DESTDIR)/usr/include diff --git a/tools/libxutil/Makefile b/tools/libxutil/Makefile index 70d2a02c19..cb12a93251 100644 --- a/tools/libxutil/Makefile +++ b/tools/libxutil/Makefile @@ -64,7 +64,7 @@ check-for-zlib: install: all [ -d $(DESTDIR)/usr/lib ] || $(INSTALL_DIR) -p $(DESTDIR)/usr/lib - $(INSTALL_PROG) $(LIB) $(DESTDIR)/usr/lib + $(INSTALL_PROG) $(LIB_NAME).so.$(MAJOR).$(MINOR) $(DESTDIR)/usr/lib ln -sf $(LIB_NAME).so.$(MAJOR).$(MINOR) $(DESTDIR)/usr/lib/$(LIB_NAME).so.$(MAJOR) ln -sf $(LIB_NAME).so.$(MAJOR) $(DESTDIR)/usr/lib/$(LIB_NAME).so |