libxl: Fix build dependency for libxl.h.
PATCH 1/1 libxl: Fix build dependency for libxl.h.
libxl.h includes _libxl_list.h, but the Makefile does not reflect this dependency. This can lead to build error due to a missing _libxl_list.h file.
--- tools/libxl/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/libxl/Makefile +1 -1
@@ -173,7 +173,7 @@ _libxl_save_msgs_helper.h _libxl_save_msgs_callout.h: \ $(PERL) -w $< $@ >[email protected] $(call move-if-changed,[email protected],$@) -libxl.h: _libxl_types.h +libxl.h: _libxl_types.h _libxl_list.h libxl_json.h: _libxl_types_json.h libxl_internal.h: _libxl_types_internal.h _libxl_types_private.h _libxl_types_internal_private.h _paths.h libxl_internal_json.h: _libxl_types_internal_json.h
Signature · 1 line
Anthony PERARD
Quoted 3 lines · Anthony PERARD
libxl.hincludes_libxl_list.h, but theMakefiledoes not reflect this dependency. This can lead to build error due to a missing_libxl_list.hfile.
libxl_qmp.c includes this too, is that a problem?
It's probably unnecessary since it includes libxl.h too. So maybe the fix is to drop the #include?
Quoted 1 line
Signed-off-by Anthony PERARD <[email protected]>
Acked + applied.
Quoted 3 lines · Anthony PERARD
libxl.hincludes_libxl_list.h, but theMakefiledoes not reflect this dependency. This can lead to build error due to a missing_libxl_list.hfile.
libxl_qmp.c includes this too, is that a problem?
It's probably unnecessary since it includes libxl.h too. So maybe the fix is to drop the #include?
Quoted 1 line
Signed-off-by Anthony PERARD <[email protected]>
Acked + applied.
Quoted 17 lines
--- tools/libxl/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)tools/libxl/Makefile +1
-1@@ -173,7 +173,7 @@ _libxl_save_msgs_helper.h _libxl_save_msgs_callout.h: \ $(PERL) -w $< $@ >[email protected] $(call move-if-changed,[email protected],$@) -libxl.h: _libxl_types.h +libxl.h: _libxl_types.h _libxl_list.h libxl_json.h: _libxl_types_json.h libxl_internal.h: _libxl_types_internal.h _libxl_types_private.h _libxl_types_internal_private.h _paths.h libxl_internal_json.h: _libxl_types_internal_json.h