1
0
mirror of https://github.com/systemd/systemd synced 2024-07-08 20:15:55 +00:00

meson: move declaration of socket-activate

This commit is contained in:
Yu Watanabe 2023-06-25 15:42:23 +09:00
parent bd31a348bf
commit 22f37744ca
2 changed files with 11 additions and 10 deletions

View File

@ -2406,6 +2406,7 @@ subdir('src/resolve')
subdir('src/rpm')
subdir('src/run-generator')
subdir('src/shutdown')
subdir('src/socket-activate')
subdir('src/sysext')
subdir('src/systemctl')
subdir('src/sysupdate')
@ -2569,16 +2570,6 @@ if conf.get('HAVE_BLKID') == 1 and conf.get('ENABLE_BOOTLOADER') == 1
endif
endif
public_programs += executable(
'systemd-socket-activate',
'src/socket-activate/socket-activate.c',
include_directories : includes,
link_with : [libshared],
dependencies : [threads,
userspace],
install_rpath : pkglibdir,
install : true)
systemctl = executable(
'systemctl',
systemctl_sources,

View File

@ -0,0 +1,10 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
executables += [
executable_template + {
'name' : 'systemd-socket-activate',
'public' : true,
'sources' : files('socket-activate.c'),
'dependencies' : threads,
},
]