diff options
author | cl349@firebug.cl.cam.ac.uk <cl349@firebug.cl.cam.ac.uk> | 2005-05-24 09:27:31 +0000 |
---|---|---|
committer | cl349@firebug.cl.cam.ac.uk <cl349@firebug.cl.cam.ac.uk> | 2005-05-24 09:27:31 +0000 |
commit | 656729f47795743c9dd2dfef1d38b0dbb595e9d2 (patch) | |
tree | 694895980834f4b2d6088813efbcd6822bbe1e58 /tools/xcutils | |
parent | a60db765d41c73f984e6b8a01c5a7f24dce409ab (diff) | |
download | xen-656729f47795743c9dd2dfef1d38b0dbb595e9d2.tar.gz xen-656729f47795743c9dd2dfef1d38b0dbb595e9d2.tar.bz2 xen-656729f47795743c9dd2dfef1d38b0dbb595e9d2.zip |
bitkeeper revision 1.1523.1.1 (4292f383Cc0iiNE6syBhzLa27UwM7w)
Makefile:
Fix library link on systems which don't have libxc installed (yet).
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
Diffstat (limited to 'tools/xcutils')
-rw-r--r-- | tools/xcutils/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/xcutils/Makefile b/tools/xcutils/Makefile index dbdc45d496..6c5ffad657 100644 --- a/tools/xcutils/Makefile +++ b/tools/xcutils/Makefile @@ -32,14 +32,15 @@ PROG_DEP = .*.d PROGRAMS = xc_restore xc_restore_OBJS = xc_restore.o -xc_restore_LIBS = xc + +LDLIBS += -L$(XEN_LIBXC) -lxc .PHONY: all all: build build: $(PROGRAMS) define PROGRAM_template - $(1): $$($(1)_OBJS) $$($(1)_LIBS:%=-l%) + $(1): $$($(1)_OBJS) ALL_OBJS += $$($(1)_OBJS) endef |