[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen master] tools: prepend to PKG_CONFIG_PATH when configuring qemu



commit 08641a9e8870d3b174d95aaa55ecba43387563b5
Author:     Stewart Hildebrand <Stewart.Hildebrand@xxxxxxxxxxxxxxx>
AuthorDate: Thu Apr 26 17:41:08 2018 +0000
Commit:     Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
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 <stewart.hildebrand@xxxxxxxxxxxxxxx>
    Acked-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
    Release-acked-by: Juergen Gross <jgross@xxxxxxxx>
---
 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#master

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/xen-changelog

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.