]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
meson: fix compilation without systemd
authorRosen Penev <rosenp@gmail.com>
Fri, 29 Apr 2022 23:53:43 +0000 (16:53 -0700)
committerKarel Zak <kzak@redhat.com>
Wed, 20 Jul 2022 15:34:16 +0000 (17:34 +0200)
systemdsystemunitdir is used elsewhere.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
meson.build

index 889936d2403ad17c8246cd4dd24072516ecb2316..c1f70ab3edb2e7d94f1fffec9d5431e0129367d3 100644 (file)
@@ -720,6 +720,7 @@ if fs_search_path_extra != ''
 endif
 conf.set_quoted('FS_SEARCH_PATH', fs_search_path)
 
+systemdsystemunitdir = ''
 if systemd.found()
   systemdsystemunitdir = systemd.get_pkgconfig_variable('systemdsystemunitdir')
 endif