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

[Xen-changelog] [xen master] tools: correct build in directory below tools



commit 8e437da379da6cb017692e71a28319f92f73b60b
Author:     Juergen Gross <jgross@xxxxxxxx>
AuthorDate: Tue Mar 14 16:04:41 2017 +0100
Commit:     Wei Liu <wei.liu2@xxxxxxxxxx>
CommitDate: Tue Mar 14 15:25:25 2017 +0000

    tools: correct build in directory below tools
    
    Recent changes to create *.pc files introduced a bug when trying to
    build a library from a directory below tools as PKG_CONFIG_DIR wouldn't
    be set. Correct this by adding a default value to Rules.mk.
    
    Signed-off-by: Juergen Gross <jgross@xxxxxxxx>
    Acked-by: Wei Liu <wei.liu2@xxxxxxxxxx>
---
 tools/Rules.mk | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tools/Rules.mk b/tools/Rules.mk
index 8b8c48e..a888560 100644
--- a/tools/Rules.mk
+++ b/tools/Rules.mk
@@ -249,6 +249,8 @@ $(XEN_ROOT)/config/Tools.mk:
        $(error You have to run ./configure before building or installing the 
tools)
 endif
 
+PKG_CONFIG_DIR ?= $(XEN_ROOT)/tools/pkg-config
+
 $(PKG_CONFIG_DIR)/%.pc: %.pc.in Makefile
        mkdir -p $(PKG_CONFIG_DIR)
        @sed -e 's!@@version@@!$(PKG_CONFIG_VERSION)!g' \
--
generated by git-patchbot for /home/xen/git/xen.git#master

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
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®.