Commit e093fab4 authored by Ting-Wei Lan's avatar Ting-Wei Lan Committed by Robert Roth

Fixes #78: Fix translations after porting to meson

Most dir options in meson are relative to prefix. When we want absolute
paths, we have to join them with prefix ourselves.
parent d9ee140b
...@@ -21,10 +21,10 @@ conf = configuration_data() ...@@ -21,10 +21,10 @@ conf = configuration_data()
conf.set_quoted('VERSION', meson.project_version()) conf.set_quoted('VERSION', meson.project_version())
conf.set_quoted('GETTEXT_PACKAGE', gettext_package) conf.set_quoted('GETTEXT_PACKAGE', gettext_package)
conf.set_quoted('GNOMELOCALEDIR', conf.set_quoted('GNOMELOCALEDIR',
join_paths(get_option('datadir'), 'locale') join_paths(get_option('prefix'), get_option('localedir'))
) )
conf.set_quoted('GSM_LIBEXEC_DIR', conf.set_quoted('GSM_LIBEXEC_DIR',
join_paths(get_option('libexecdir'), meson.project_name()) join_paths(get_option('prefix'), get_option('libexecdir'), meson.project_name())
) )
dataconf = configuration_data() dataconf = configuration_data()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment