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] [PATCH] xen-libxc-static-build.patch

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [PATCH] xen-libxc-static-build.patch
From: BitKeeper Bot <riel@xxxxxxxxxxx>
Date: Tue, 24 May 2005 21:36:40 +0000
Delivery-date: Tue, 24 May 2005 22:01:39 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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 Development List <xen-devel@xxxxxxxxxxxxxxxxxxx>
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
ChangeSet 1.1539, 2005/05/24 22:36:40+01:00, arun.sharma@xxxxxxxxx

        [PATCH] xen-libxc-static-build.patch
        
        Fix build of the static library.
        
        As it was depending on an undefined objects variable (OBJS), its
        dependency list was null and thus it ended up empty.
        
        Also optimize the depedency checking so we don't need a submake. Not
        too great an optimization, but it makes it short :)
        
        Signed-off-by: Inaky Perez-Gonzalez <inaky@xxxxxxxxxxxxxxx>
        Signed-off-by: Arun Sharma <arun.sharma@xxxxxxxxx>



 Makefile |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)


diff -Nru a/tools/libxc/Makefile b/tools/libxc/Makefile
--- a/tools/libxc/Makefile      2005-05-24 18:02:23 -04:00
+++ b/tools/libxc/Makefile      2005-05-24 18:02:23 -04:00
@@ -45,8 +45,7 @@
 LIB      := libxc.a libxc.so libxc.so.$(MAJOR) libxc.so.$(MAJOR).$(MINOR)
 
 all: build
-build: check-for-zlib mk-symlinks
-       $(MAKE) $(LIB)
+build: check-for-zlib mk-symlinks $(LIB)
 
 check-for-zlib:
        @if [ ! -e /usr/include/zlib.h ]; then \
@@ -93,7 +92,7 @@
        mv staging/i386/*.rpm .
        rm -rf staging
 
-libxc.a: $(OBJS)
+libxc.a: $(LIB_OBJS)
        $(AR) rc $@ $^
 
 libxc.so: libxc.so.$(MAJOR)

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [PATCH] xen-libxc-static-build.patch, BitKeeper Bot <=