diff options
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meson.build b/meson.build index a88b523..ffa2eca 100644 --- a/meson.build +++ b/meson.build @@ -39,11 +39,13 @@ ld_flags += cc.get_supported_link_arguments(ld_extra_flags) add_project_link_arguments(ld_flags, language: 'c') sysconfdir = join_paths(get_option('prefix'), get_option('sysconfdir'), meson.project_name()) +localstatedir = join_paths(get_option('prefix'), get_option('localstatedir'), meson.project_name()) mainconfname = meson.project_name() + '.conf' conf = configuration_data() conf.set_quoted('VERSION', '@0@-@VCS_TAG@'.format(meson.project_version())) conf.set_quoted('DEFAULT_CFG_DIR', sysconfdir) +conf.set_quoted('DEFAULT_DATA_DIR', localstatedir) conf.set_quoted('DEFAULT_MAIN_CFG_FILE', mainconfname) inc_config_h = include_directories('.') |