From 8d9420ff8a81758193e8d89d59cdabcb140e4d6d Mon Sep 17 00:00:00 2001 From: Christian Brauner Date: Thu, 16 Sep 2021 16:04:33 +0200 Subject: [PATCH] build: use dummy config data to avoid having to rely on newer meson features. Signed-off-by: Christian Brauner --- src/lxc/cmd/meson.build | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/lxc/cmd/meson.build b/src/lxc/cmd/meson.build index afff920a6..410e4689c 100644 --- a/src/lxc/cmd/meson.build +++ b/src/lxc/cmd/meson.build @@ -152,16 +152,18 @@ cmd_lxc_monitord_sources = files('lxc_monitord.c') + cmd_common_sources cmd_lxc_user_nic_sources = files('lxc_user_nic.c') + cmd_common_sources cmd_lxc_usernsexec_sources = files('lxc_usernsexec.c') + cmd_common_sources -cmd_lxc_checkconfig_data = configuration_data() +dummy_config_data = configuration_data() +dummy_config_data.set_quoted('DUMMY_VARIABLE', '1') + cmd_lxc_checkconfig = configure_file( - configuration : cmd_lxc_checkconfig_data, + configuration : dummy_config_data, input : 'lxc-checkconfig.in', output : 'lxc-checkconfig') install_data(join_paths(project_build_root, 'src/lxc/cmd/lxc-checkconfig'), install_dir : bindir) cmd_lxc_update_config_data = configuration_data() cmd_lxc_update_config = configure_file( - configuration : cmd_lxc_update_config_data, + configuration : dummy_config_data, input : 'lxc-update-config.in', output : 'lxc-update-config') install_data(join_paths(project_build_root, 'src/lxc/cmd/lxc-update-config'), install_dir : bindir) -- 2.47.2