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

[Xen-devel] [PATCH][BUGFIX] secpol_tool Makefile fix



This small patch fixes new make-dependencies of the secpol_tool

Signed-off by: Reiner Sailer <sailer@xxxxxxxxxx>

--- xen-unstable.hg-shype.orig/tools/security/Makefile
+++ xen-unstable.hg-shype/tools/security/Makefile
@@ -3,7 +3,7 @@ include $(XEN_ROOT)/tools/Rules.mk

CFLAGS   += -Werror
CFLAGS   += -fno-strict-aliasing
-CFLAGS   += -I.
+CFLAGS   += -I. -I $(XEN_LIBXC)

CPPFLAGS += -MMD -MF .$*.d
PROG_DEPS = .*.d
@@ -89,7 +89,7 @@ build: mk-symlinks $(ACM_INST_TOOLS) $(A
    chmod 700 $(ACM_SCRIPTS)

xensec_tool: $(OBJS_TOOL)
-    $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^
+    $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ -L$(XEN_LIBXC) -lxenctrl

xensec_xml2bin: $(OBJS_XML2BIN)
    $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.