Merge branch 'fix-locale-dir' into 'master'

build: Fix definition of PACKAGE_LOCALE_DIR

See merge request pwithnall/malcontent!31
This commit is contained in:
Philip Withnall 2020-02-21 09:48:36 +00:00
commit 4e90d5c66a
1 changed files with 2 additions and 2 deletions

View File

@ -47,8 +47,8 @@ libglib_testing_dep = dependency(
)
config_h = configuration_data()
config_h.set_quoted('GETTEXT_PACKAGE', meson.project_name())
config_h.set_quoted('PACKAGE_LOCALE_DIR', join_paths(get_option('localedir'), meson.project_name()))
config_h.set_quoted('GETTEXT_PACKAGE', 'malcontent')
config_h.set_quoted('PACKAGE_LOCALE_DIR', join_paths(get_option('prefix'), get_option('localedir')))
configure_file(
output: 'config.h',
configuration: config_h,