From: Christian Brauner Date: Thu, 16 Sep 2021 14:04:33 +0000 (+0200) Subject: build: use dummy config data X-Git-Tag: lxc-5.0.0~87^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8d9420ff8a81758193e8d89d59cdabcb140e4d6d;p=thirdparty%2Flxc.git build: use dummy config data to avoid having to rely on newer meson features. Signed-off-by: Christian Brauner --- 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)