tools: correct build in directory below tools
PATCH 1/1 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.
--- tools/Rules.mk | 2 ++ 1 file changed, 2 insertions(+)
tools/Rules.mk +2 -0
@@ -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' \
Signature · 7 lines
2.10.2 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xen.org/xen-devel
PATCH 1/1 tools/libxl: correct distclean target
Commit 3e5f1a63b53920763 ("tools: adapt xenlight.pc and xlutil.pc to new pkg-config scheme") introduced an error for "make distclean" as *.pc.in are deleted which are now files in git.
--- tools/libxl/Makefile | 1 - 1 file changed, 1 deletion(-)
tools/libxl/Makefile +0 -1
@@ -337,7 +337,6 @@ clean: $(MAKE) -C $(ACPI_PATH) ACPI_BUILD_DIR=$(CURDIR) clean distclean: clean - $(RM) -f xenlight.pc.in xlutil.pc.in realclean: distclean $(RM) -f $(AUTOSRCS) $(AUTOINCS)
Signature · 7 lines
2.10.2 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xen.org/xen-devel
Re: [PATCH] tools/libxl: correct distclean target
Quoted 5 lines · Juergen Gross
Commit
3e5f1a63b53920763("tools: adapt xenlight.pc and xlutil.pc to new pkg-config scheme") introduced an error for "make distclean" as *.pc.in are deleted which are now files in git.Signed-off-by Juergen Gross <[email protected]>
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Quoted 5 lines · Juergen Gross
Recent changes to create *.pc files introduced a bug when trying to build a library from a directory below tools as
PKG_CONFIG_DIRwouldn't be set. Correct this by adding a default value to Rules.mk.Signed-off-by Juergen Gross <[email protected]>
Hmm... This isn't pretty.
But off the top of my head I can't think of anything better, and to fix the immediate issue:
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel