mirror of
https://github.com/systemd/systemd.git
synced 2025-03-19 22:50:17 +03:00
Merge pull request #8412 from keszybz/meson-warning-fixes
Meson warning fixes
This commit is contained in:
commit
6fed2cc41f
@ -844,8 +844,7 @@ if not libcap.found()
|
||||
endif
|
||||
|
||||
libmount = dependency('mount',
|
||||
version : '>= 2.30',
|
||||
required : not fuzzer_build)
|
||||
version : fuzzer_build ? '>= 0' : '>= 2.30')
|
||||
|
||||
want_seccomp = get_option('seccomp')
|
||||
if want_seccomp != 'false' and not fuzzer_build
|
||||
@ -2904,8 +2903,9 @@ foreach tuple : [
|
||||
['debug mmap cache'],
|
||||
]
|
||||
|
||||
cond = tuple.get(1, '')
|
||||
if cond == ''
|
||||
if tuple.length() >= 2
|
||||
cond = tuple[1]
|
||||
else
|
||||
ident1 = 'HAVE_' + tuple[0].underscorify().to_upper()
|
||||
ident2 = 'ENABLE_' + tuple[0].underscorify().to_upper()
|
||||
cond = conf.get(ident1, 0) == 1 or conf.get(ident2, 0) == 1
|
||||
|
@ -61,6 +61,6 @@ if conf.get('ENABLE_REMOTE') == 1 and conf.get('HAVE_MICROHTTPD') == 1
|
||||
meson.add_install_script('sh', '-c',
|
||||
mkdir_p.format('/var/log/journal/remote'))
|
||||
meson.add_install_script('sh', '-c',
|
||||
'chown 0:0 $DESTDIR/var/log/journal/remote &&
|
||||
chmod 755 $DESTDIR/var/log/journal/remote || :')
|
||||
'''chown 0:0 $DESTDIR/var/log/journal/remote &&
|
||||
chmod 755 $DESTDIR/var/log/journal/remote || :''')
|
||||
endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user