]> xenbits.xensource.com Git - qemu-xen-unstable.git/commitdiff
qemu-xen-traditional: Use xentoollog as a separate library
authorIan Campbell <ian.campbell@citrix.com>
Thu, 3 Dec 2015 11:23:16 +0000 (11:23 +0000)
committerIan Campbell <ian.campbell@citrix.com>
Wed, 9 Dec 2015 11:53:59 +0000 (11:53 +0000)
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 <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
xen-hooks.mak

index bc7f1f1337a6f4605c005b6469e9ff401e9a9115..bf7f02708d1fd962d44f662e74908d77be63756b 100644 (file)
@@ -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)