2
0
mirror of git://github.com/lxc/lxc synced 2025-08-29 13:59:50 +00:00

build: use dummy config data

to avoid having to rely on newer meson features.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
This commit is contained in:
Christian Brauner 2021-09-16 16:04:33 +02:00
parent 3af1349c96
commit 30538e7aed
No known key found for this signature in database
GPG Key ID: 8EB056D53EECB12D

View File

@ -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)