Message ID | 1457628745-20188-4-git-send-email-wei.liu2@citrix.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/tools/libxc/Makefile b/tools/libxc/Makefile index 1619c06..3a0a839 100644 --- a/tools/libxc/Makefile +++ b/tools/libxc/Makefile @@ -68,8 +68,8 @@ else GUEST_SRCS-y += xc_nomigrate.c endif -vpath %.c ../../xen/common/libelf -CFLAGS += -I../../xen/common/libelf +vpath %.c $(XEN_ROOT)/xen/common/libelf +CFLAGS += -I$(XEN_ROOT)/xen/common/libelf ELF_SRCS-y += libelf-tools.c libelf-loader.c ELF_SRCS-y += libelf-dominfo.c
Stubdom needs to compile and link libelf in xen. Using relative path breaks that. Signed-off-by: Wei Liu <wei.liu2@citrix.com> --- tools/libxc/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)