From: Ian Campbell Date: Thu, 3 Dec 2015 11:23:16 +0000 (+0000) Subject: qemu-xen-traditional: Use xentoollog as a separate library X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=9fad9ed285835caef64bb8dab352e287ad8538c2;p=people%2Fliuw%2Flibxenctrl-split%2Fqemu-xen-traditional.git qemu-xen-traditional: Use xentoollog as a separate library This has been split out of libxenctrl, so the build needs to be able to find the header and the library. QEMU does not use xtl_* itself so -rpath-link is sufficient to allow linking to libxenctrl.so (which links against libxentoollog). Signed-off-by: Ian Campbell Acked-by: Ian Jackson --- diff --git a/xen-hooks.mak b/xen-hooks.mak index bc7f1f13..bf7f0270 100644 --- a/xen-hooks.mak +++ b/xen-hooks.mak @@ -1,3 +1,4 @@ +CPPFLAGS+= -I$(XEN_ROOT)/tools/libs/toollog/include CPPFLAGS+= -I$(XEN_ROOT)/tools/libxc/include CPPFLAGS+= -I$(XEN_ROOT)/tools/xenstore/include CPPFLAGS+= -I$(XEN_ROOT)/tools/include @@ -19,6 +20,7 @@ CFLAGS += $(CMDLINE_CFLAGS) LIBS += -L$(XEN_ROOT)/tools/libxc -lxenctrl -lxenguest LIBS += -L$(XEN_ROOT)/tools/xenstore -lxenstore +LIBS += -Wl,-rpath-link=$(XEN_ROOT)/tools/libs/toollog LDFLAGS := $(CFLAGS) $(LDFLAGS)