mirror of
https://github.com/systemd/systemd.git
synced 2025-01-09 01:18:19 +03:00
meson: move declaration of user-sessions
This commit is contained in:
parent
b8ed1bf8ee
commit
dbab4fb9e5
13
meson.build
13
meson.build
@ -2412,6 +2412,7 @@ subdir('src/sysupdate')
|
||||
subdir('src/timedate')
|
||||
subdir('src/timesync')
|
||||
subdir('src/tmpfiles')
|
||||
subdir('src/user-sessions')
|
||||
subdir('src/userdb')
|
||||
subdir('src/xdg-autostart-generator')
|
||||
|
||||
@ -2558,18 +2559,6 @@ if want_tests != 'false'
|
||||
depends : exe)
|
||||
endif
|
||||
|
||||
if conf.get('HAVE_PAM') == 1
|
||||
executable(
|
||||
'systemd-user-sessions',
|
||||
'src/user-sessions/user-sessions.c',
|
||||
include_directories : includes,
|
||||
link_with : [libshared],
|
||||
dependencies : userspace,
|
||||
install_rpath : pkglibdir,
|
||||
install : true,
|
||||
install_dir : libexecdir)
|
||||
endif
|
||||
|
||||
if conf.get('HAVE_BLKID') == 1 and conf.get('ENABLE_BOOTLOADER') == 1
|
||||
if get_option('link-boot-shared')
|
||||
boot_link_with = [libshared]
|
||||
|
9
src/user-sessions/meson.build
Normal file
9
src/user-sessions/meson.build
Normal file
@ -0,0 +1,9 @@
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
executables += [
|
||||
libexec_template + {
|
||||
'name' : 'systemd-user-sessions',
|
||||
'conditions' : ['HAVE_PAM'],
|
||||
'sources' : files('user-sessions.c'),
|
||||
},
|
||||
]
|
Loading…
Reference in New Issue
Block a user