From cc13835377debe4e300c5f5f11f8f78920778c4e Mon Sep 17 00:00:00 2001 From: Juergen Gross Date: Thu, 10 Sep 2020 17:42:10 +0200 Subject: [PATCH] tools/libs/guest: fix Makefile regarding zlib options When renaming the libxenguest sources to xg_*.c there was an omission in the Makefile when setting the zlib related define for the related sources. Fix that. Fixes: e3dd624e487c ("tools/libxc: move libxenguest to tools/libs/guest") Signed-off-by: Juergen Gross Acked-by: Andrew Cooper --- tools/libs/guest/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/libs/guest/Makefile b/tools/libs/guest/Makefile index e53aeabd3e..f24732fbcd 100644 --- a/tools/libs/guest/Makefile +++ b/tools/libs/guest/Makefile @@ -94,8 +94,8 @@ else zlib-options = $(ZLIB) endif -xc_dom_bzimageloader.o: CFLAGS += $(filter -D%,$(zlib-options)) -xc_dom_bzimageloader.opic: CFLAGS += $(filter -D%,$(zlib-options)) +xg_dom_bzimageloader.o: CFLAGS += $(filter -D%,$(zlib-options)) +xg_dom_bzimageloader.opic: CFLAGS += $(filter -D%,$(zlib-options)) LIBHEADER := xenguest.h -- 2.30.2