From 08641a9e8870d3b174d95aaa55ecba43387563b5 Mon Sep 17 00:00:00 2001 From: Stewart Hildebrand Date: Thu, 26 Apr 2018 17:41:08 +0000 Subject: [PATCH] tools: prepend to PKG_CONFIG_PATH when configuring qemu A user may choose to set his/her own PKG_CONFIG_PATH, which is useful in the case of cross-compiling. We don't want to completely override the PKG_CONFIG_PATH, just add to it. Signed-off-by: Stewart Hildebrand Acked-by: Ian Jackson Release-acked-by: Juergen Gross --- tools/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/Makefile b/tools/Makefile index ab7a01ee1b..67977ad850 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -232,7 +232,7 @@ subdir-all-qemu-xen-dir: qemu-xen-dir-find else \ enable_trace_backend='' ; \ fi ; \ - PKG_CONFIG_PATH=$(XEN_ROOT)/tools/pkg-config \ + PKG_CONFIG_PATH=$(XEN_ROOT)/tools/pkg-config$${PKG_CONFIG_PATH:+:$${PKG_CONFIG_PATH}} \ $$source/configure --enable-xen --target-list=i386-softmmu \ $(QEMU_XEN_ENABLE_DEBUG) \ $$enable_trace_backend \ -- 2.30.2