]> xenbits.xensource.com Git - people/royger/xen.git/commitdiff
tools: set pkg-config path when configuring qemu
authorJuergen Gross <jgross@suse.com>
Thu, 2 Mar 2017 05:13:18 +0000 (06:13 +0100)
committerWei Liu <wei.liu2@citrix.com>
Thu, 2 Mar 2017 12:23:34 +0000 (12:23 +0000)
When calling configure for qemu provide the local pkg-config directory
in order to let the configure process find the libxenctrl version.

Signed-off-by: Juergen Gross <jgross@suse.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/Makefile

index 32ab94ba47274594cd9c98bd79b9cfa9bf76a34e..85e5ce96b3ee45d4308396c4ac25fafdceb4caa6 100644 (file)
@@ -255,6 +255,7 @@ subdir-all-qemu-xen-dir: qemu-xen-dir-find
        else \
                enable_trace_backend='' ; \
        fi ; \
+       PKG_CONFIG_PATH=$(XEN_ROOT)/tools/pkg-config \
        $$source/configure --enable-xen --target-list=i386-softmmu \
                $(QEMU_XEN_ENABLE_DEBUG) \
                $$enable_trace_backend \