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

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



commit f5c692acb81219d817e97ea8499f44f9f2764af5
Author:     Stewart Hildebrand <Stewart.Hildebrand@xxxxxxxxxxxxxxx>
AuthorDate: Thu Apr 26 17:41:08 2018 +0000
Commit:     Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
CommitDate: Thu Jul 12 11:49:46 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>
    (cherry picked from commit 08641a9e8870d3b174d95aaa55ecba43387563b5)
    (cherry picked from commit 8dd2cb99f7bf3992282e0b1e4732eaa4639954c2)
---
 tools/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/Makefile b/tools/Makefile
index 496428e3a9..5d88c6faee 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -261,7 +261,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#stable-4.9

_______________________________________________
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®.