From: Ian Jackson Date: Fri, 15 Sep 2017 14:25:23 +0000 (+0100) Subject: tools: qemu-xen build: prepare to link against xentoolcore X-Git-Tag: archive/raspbian/4.11.1-1+rpi1~1^2~66^2~1156 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=95018197d3a4f63c608d44d976bf8563fff08c1a;p=xen.git tools: qemu-xen build: prepare to link against xentoolcore Signed-off-by: Ian Jackson Acked-by: Wei Liu --- diff --git a/tools/Makefile b/tools/Makefile index 11ad42c83d..03d326a02c 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -244,6 +244,7 @@ subdir-all-qemu-xen-dir: qemu-xen-dir-find -DXC_WANT_COMPAT_MAP_FOREIGN_API=1 \ -DXC_WANT_COMPAT_DEVICEMODEL_API=1 \ -I$(XEN_ROOT)/tools/include \ + -I$(XEN_ROOT)/tools/libs/toolcore/include \ -I$(XEN_ROOT)/tools/libs/toollog/include \ -I$(XEN_ROOT)/tools/libs/evtchn/include \ -I$(XEN_ROOT)/tools/libs/gnttab/include \ @@ -255,10 +256,12 @@ subdir-all-qemu-xen-dir: qemu-xen-dir-find $(EXTRA_CFLAGS_QEMU_XEN)" \ --extra-ldflags="-L$(XEN_ROOT)/tools/libxc \ -L$(XEN_ROOT)/tools/xenstore \ + -L$(XEN_ROOT)/tools/libs/toolcore \ -L$(XEN_ROOT)/tools/libs/evtchn \ -L$(XEN_ROOT)/tools/libs/gnttab \ -L$(XEN_ROOT)/tools/libs/foreignmemory \ -L$(XEN_ROOT)/tools/libs/devicemodel \ + -Wl,-rpath-link=$(XEN_ROOT)/tools/libs/toolcore \ -Wl,-rpath-link=$(XEN_ROOT)/tools/libs/toollog \ -Wl,-rpath-link=$(XEN_ROOT)/tools/libs/evtchn \ -Wl,-rpath-link=$(XEN_ROOT)/tools/libs/gnttab \