summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-05-16 20:13:14 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2021-05-19 10:25:26 +0900
commit71ae5ce544f5ec8ec9856d930cbca6b3a5a7a3bf (patch)
tree8d5308dd0e1854df9a9ad5e6ad9a008341382cf9 /meson.build
parent491bf10c808b7e8cac1f23635848ae046a838b00 (diff)
downloadsystemd-71ae5ce544f5ec8ec9856d930cbca6b3a5a7a3bf.tar.gz
units: generate ReadWritePaths= in the template
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build7
1 files changed, 1 insertions, 6 deletions
diff --git a/meson.build b/meson.build
index 171c3dda73..8b1871523f 100644
--- a/meson.build
+++ b/meson.build
@@ -828,15 +828,10 @@ endif
conf.set_quoted('SYSTEMD_DEFAULT_LOCALE', default_locale)
localegen_path = get_option('localegen-path')
-have = false
-writable = ''
if localegen_path != ''
conf.set_quoted('LOCALEGEN_PATH', localegen_path)
- have = true
- writable = ' /usr/lib/locale'
endif
-conf.set_quoted('SERVICE_LOCALEGEN_WRITABLE', writable)
-conf.set10('HAVE_LOCALEGEN', have)
+conf.set10('HAVE_LOCALEGEN', localegen_path != '')
conf.set_quoted('GETTEXT_PACKAGE', meson.project_name())