diff mbox series

tools/libs/guest: fix Makefile regarding zlib options

Message ID 20200910154210.2440-1-jgross@suse.com (mailing list archive)
State New, archived
Headers show
Series tools/libs/guest: fix Makefile regarding zlib options | expand

Commit Message

Jürgen Groß Sept. 10, 2020, 3:42 p.m. UTC
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.

Signed-off-by: Juergen Gross <jgross@suse.com>
---
 tools/libs/guest/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Wei Liu Sept. 14, 2020, 9:39 a.m. UTC | #1
On Thu, Sep 10, 2020 at 05:42:10PM +0200, Juergen Gross wrote:
> 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.
> 
> Signed-off-by: Juergen Gross <jgross@suse.com>

Acked-by: Wei Liu <wl@xen.org>
Wei Liu Sept. 14, 2020, 9:47 a.m. UTC | #2
On Mon, Sep 14, 2020 at 09:39:01AM +0000, Wei Liu wrote:
> On Thu, Sep 10, 2020 at 05:42:10PM +0200, Juergen Gross wrote:
> > 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.
> > 
> > Signed-off-by: Juergen Gross <jgross@suse.com>
> 
> Acked-by: Wei Liu <wl@xen.org>

Actually this is already applied. Thanks Andrew.
diff mbox series

Patch

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