tools/libs: let build depend on official headers
authorJuergen Gross <jgross@suse.com>
Sun, 25 Oct 2020 10:11:29 +0000 (11:11 +0100)
committerWei Liu <wl@xen.org>
Mon, 26 Oct 2020 14:48:52 +0000 (14:48 +0000)
The build target of a library should depend on the official headers
of that library, too, as those might be required for building other
tools.

Signed-off-by: Juergen Gross <jgross@suse.com>
Acked-by: Wei Liu <wl@xen.org>
tools/libs/libs.mk

index 959ff91a5610eaead6ca3aa79024366598c8bfcd..b0e785b3806f0d492e20969867750d390fd77b07 100644 (file)
@@ -57,7 +57,7 @@ $(PKG_CONFIG_LOCAL): PKG_CONFIG_LIBDIR = $(CURDIR)
 all: build
 
 .PHONY: build
-build: libs libxen$(LIBNAME).map
+build: libs libxen$(LIBNAME).map $(LIBHEADERS)
 
 .PHONY: libs
 libs: headers.chk $(LIB) $(PKG_CONFIG_INST) $(PKG_CONFIG_LOCAL)