* [PATCH] xen-libxc-static-build.patch
@ 2005-05-24 21:06 Arun Sharma
0 siblings, 0 replies; only message in thread
From: Arun Sharma @ 2005-05-24 21:06 UTC (permalink / raw)
To: Ian Pratt, Keir Fraser; +Cc: xen-devel
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@linux.intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
--- xen/tools/libxc/Makefile (revision 1115)
+++ xen/tools/libxc/Makefile (working copy)
@@ -46,8 +46,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 \
@@ -94,7 +93,7 @@
mv staging/i386/*.rpm .
rm -rf staging
-libxc.a: $(OBJS)
+libxc.a: $(LIB_OBJS)
$(AR) rc $@ $^
libxc.so: libxc.so.$(MAJOR)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-05-24 21:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-24 21:06 [PATCH] xen-libxc-static-build.patch Arun Sharma
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.