[gnome-software] trivial: Use localstatedir which is now available in Meson



commit 5842125ca9873e48cc4b82b280935501d6bfad4c
Author: Richard Hughes <richard hughsie com>
Date:   Tue Dec 6 19:26:02 2016 +0000

    trivial: Use localstatedir which is now available in Meson

 meson.build |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/meson.build b/meson.build
index d664976..79af5ba 100644
--- a/meson.build
+++ b/meson.build
@@ -166,8 +166,9 @@ conf.set_quoted('LIBDIR',
 conf.set_quoted('SYSCONFDIR',
                 join_paths(get_option('prefix'),
                            get_option('sysconfdir')))
-# FIXME: xxx
-conf.set_quoted('LOCALSTATEDIR', '/var')
+conf.set_quoted('LOCALSTATEDIR',
+                join_paths(get_option('prefix'),
+                           get_option('localstatedir')))
 conf.set_quoted('GS_DATA',
                 join_paths(get_option('prefix'),
                            get_option('datadir'),


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