tools/libs/guest: fix Makefile regarding zlib options
authorJuergen Gross <jgross@suse.com>
Thu, 10 Sep 2020 15:42:10 +0000 (17:42 +0200)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 10 Sep 2020 19:27:00 +0000 (20:27 +0100)
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 <jgross@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
tools/libs/guest/Makefile

index e53aeabd3ef9af406cca1222ce50210ce03691b2..f24732fbcd713b1f644210eb387a6bd840456216 100644 (file)
@@ -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