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

[Xen-changelog] Makefile:



ChangeSet 1.1523.1.1, 2005/05/24 10:27:31+01:00, cl349@xxxxxxxxxxxxxxxxxxxx

        Makefile:
          Fix library link on systems which don't have libxc installed (yet).
        Signed-off-by: Christian Limpach <Christian.Limpach@xxxxxxxxxxxx>



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


diff -Nru a/tools/xcutils/Makefile b/tools/xcutils/Makefile
--- a/tools/xcutils/Makefile    2005-05-24 06:02:29 -04:00
+++ b/tools/xcutils/Makefile    2005-05-24 06:02:29 -04:00
@@ -32,14 +32,15 @@
 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
 

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