aboutsummaryrefslogtreecommitdiffstats
path: root/community/accountsservice/musl-wtmp.patch
blob: 4393c0209ab94eb798da17548836e7ab9ea6e5fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- a/meson.build
+++ b/meson.build
@@ -82,8 +82,7 @@ if cc.has_header_symbol('utmpx.h', 'WTMPX_FILENAME', prefix: '#define _GNU_SOURC
 elif cc.has_header_symbol('paths.h', '_PATH_WTMPX')
   config_h.set('PATH_WTMP', '_PATH_WTMPX')
 else
-  assert(run_command('test', '-e', '/var/log/utx.log').returncode() == 0, 'Do not know which filename to watch for wtmp changes')
-  config_h.set_quoted('PATH_WTMP', '/var/log/utx.log')
+  config_h.set_quoted('PATH_WTMP', '/var/log/wtmp')
 endif
 
 # compiler flags