[xen staging] tools: prepend to PKG_CONFIG_PATH when configuring qemu

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[xen staging] tools: prepend to PKG_CONFIG_PATH when configuring qemu

patchbot
commit 08641a9e8870d3b174d95aaa55ecba43387563b5
Author:     Stewart Hildebrand <[hidden email]>
AuthorDate: Thu Apr 26 17:41:08 2018 +0000
Commit:     Ian Jackson <[hidden email]>
CommitDate: Mon Apr 30 14:27:59 2018 +0100

    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 <[hidden email]>
    Acked-by: Ian Jackson <[hidden email]>
    Release-acked-by: Juergen Gross <[hidden email]>
---
 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 \
--
generated by git-patchbot for /home/xen/git/xen.git#staging

_______________________________________________
Xen-changelog mailing list
[hidden email]
https://lists.xenproject.org/xen-changelog