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

[Xen-changelog] [xen-unstable] Shared libs have traditionally been installed as executables due to



# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Node ID 405c7e86b24af0f091d337d8d5750661306c0fd9
# Parent  28b766e3bcca126b3f19281765c33fb1c4118d8f
Shared libs have traditionally been installed as executables due to
some
long ago accidents of implementation in historical Unixes.  And there
are various tools which "expect" it (... and this is why they get
created as executable by default by ld).  

Switching to INSTALL_LIB here although I think the whole "define all
the
ways you're going to use install" in this makefile a _smidge_ overkill

Signed-off-by: Jeremy Katz <katzj@xxxxxxxxxx>
---
 tools/xenstore/Makefile |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)

diff -r 28b766e3bcca -r 405c7e86b24a tools/xenstore/Makefile
--- a/tools/xenstore/Makefile   Mon Jul 10 17:36:41 2006 +0100
+++ b/tools/xenstore/Makefile   Mon Jul 10 17:38:41 2006 +0100
@@ -5,6 +5,7 @@ INSTALL         = install
 INSTALL         = install
 INSTALL_DATA   = $(INSTALL) -m0644
 INSTALL_PROG    = $(INSTALL) -m0755
+INSTALL_LIBS    = $(INSTALL) -m0755
 INSTALL_DIR     = $(INSTALL) -d -m0755
 
 PROFILE=#-pg
@@ -171,7 +172,7 @@ install: all
        $(INSTALL_PROG) xenstore-control $(DESTDIR)/usr/bin
        $(INSTALL_PROG) xenstore-ls $(DESTDIR)/usr/bin
        $(INSTALL_DIR) -p $(DESTDIR)/usr/$(LIBDIR)
-       $(INSTALL_DATA) libxenstore.so $(DESTDIR)/usr/$(LIBDIR)
+       $(INSTALL_LIBS) libxenstore.so $(DESTDIR)/usr/$(LIBDIR)
        $(INSTALL_DATA) xs.h $(DESTDIR)/usr/include
        $(INSTALL_DATA) xs_lib.h $(DESTDIR)/usr/include
 

_______________________________________________
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®.