gplugin/gplugin

Use Meson's localedir option instead of hardcoding.
feature/meson
2017-06-01, Elliott Sales de Andrade
68ab35b41eaf
Use Meson's localedir option instead of hardcoding.
  • +1 -1
    meson.build
  • --- a/meson.build Thu Jun 01 23:23:39 2017 -0400
    +++ b/meson.build Thu Jun 01 23:34:56 2017 -0400
    @@ -22,7 +22,7 @@
    version_conf.set('GPLUGIN_EXTRA_VERSION', extra)
    version_conf.set('GPLUGIN_VERSION', meson.project_version())
    -LOCALE_DIR = get_option('prefix') + '/locale'
    +LOCALE_DIR = join_paths(get_option('prefix'), get_option('localedir'))
    add_global_arguments('-DLOCALEDIR="@0@"'.format(LOCALE_DIR), language : 'c')
    ###############################################################################