From: Juergen Gross Date: Thu, 10 Sep 2020 15:42:10 +0000 (+0200) Subject: tools/libs/guest: fix Makefile regarding zlib options X-Git-Tag: archive/raspbian/4.16.0+51-g0941d6cb-1+rpi1~2^2~42^2~1651 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=cc13835377debe4e300c5f5f11f8f78920778c4e;p=xen.git 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 --- 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