[dia/neduard/meson_fixes] #31 Correctly set LOCALEDIR.



commit 5138892821493b64c54deb98c249e18637c311e2
Author: Eduard Nicodei <eddnicodei gmail com>
Date:   Thu Jan 31 20:01:20 2019 +0000

    #31 Correctly set LOCALEDIR.

 meson.build | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index d26a5edf..07e870ae 100644
--- a/meson.build
+++ b/meson.build
@@ -50,13 +50,16 @@ dialibdir = join_paths(get_option('prefix'),
                        get_option('libdir'),
                        meson.project_name())
 
+localedir = join_paths(get_option('prefix'),
+                       get_option('localedir'))
+
 # Specify a header configuration file
 conf.set_quoted('VERSION', '@VCS_TAG@')
 conf.set_quoted('GETTEXT_PACKAGE', meson.project_name())
 conf.set_quoted('PREFIX', get_option('prefix'))
 conf.set_quoted('PKGDATADIR', pkgdatadir)
 conf.set_quoted('DIALIBDIR',  dialibdir)
-conf.set_quoted('LOCALEDIR', get_option('localedir'))
+conf.set_quoted('LOCALEDIR', localedir)
 conf.set('ENABLE_NLS', true)
 
 foreach h : ['stddef.h', 'fcntl.h', 'unistd.h', 'utime.h']


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]