Signed-off-by: Pavel Hrdina <phrdina@xxxxxxxxxx> --- src/libxl/Makefile.inc.am | 9 --------- src/libxl/meson.build | 10 ++++++++++ 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/src/libxl/Makefile.inc.am b/src/libxl/Makefile.inc.am index c7ac93a75b7..35e6b3bbcd9 100644 --- a/src/libxl/Makefile.inc.am +++ b/src/libxl/Makefile.inc.am @@ -4,15 +4,6 @@ DRIVER_SOURCE_FILES += $(addprefix $(srcdir)/,$(LIBXL_DRIVER_SOURCES)) STATEFUL_DRIVER_SOURCE_FILES += $(addprefix $(srcdir)/,$(LIBXL_DRIVER_SOURCES)) if WITH_LIBXL -libvirt_driver_libxl_la_SOURCES = -libvirt_driver_libxl_la_LIBADD = \ - libvirt_driver_libxl_impl.la \ - libvirt.la \ - $(GLIB_LIBS) \ - $(NULL) -mod_LTLIBRARIES += libvirt_driver_libxl.la -libvirt_driver_libxl_la_LDFLAGS = $(AM_LDFLAGS_MOD_NOUNDEF) - sbin_PROGRAMS += virtxend nodist_conf_DATA += libxl/virtxend.conf diff --git a/src/libxl/meson.build b/src/libxl/meson.build index 7747bb61a75..484f3805851 100644 --- a/src/libxl/meson.build +++ b/src/libxl/meson.build @@ -26,4 +26,14 @@ if conf.has('WITH_LIBXL') hypervisor_inc_dir, ], ) + + virt_modules += { + 'name': 'virt_driver_libxl', + 'link_whole': [ + libxl_driver_imp, + ], + 'link_args': [ + libvirt_no_undefined, + ], + } endif -- 2.26.2