mirror of
https://github.com/systemd/systemd.git
synced 2025-03-14 04:58:28 +03:00
Merge pull request #6670 from fsateler/disable-networkd
build-sys: don't build networkctl if networkd is disabled
This commit is contained in:
commit
7123a951d0
19
meson.build
19
meson.build
@ -2201,18 +2201,17 @@ if conf.get('ENABLE_NETWORKD', false)
|
||||
install_rpath : rootlibexecdir,
|
||||
install : true,
|
||||
install_dir : rootlibexecdir)
|
||||
endif
|
||||
|
||||
exe = executable('networkctl',
|
||||
networkctl_sources,
|
||||
include_directories : includes,
|
||||
link_with : [libsystemd_network,
|
||||
exe = executable('networkctl',
|
||||
networkctl_sources,
|
||||
include_directories : includes,
|
||||
link_with : [libsystemd_network,
|
||||
libshared],
|
||||
install_rpath : rootlibexecdir,
|
||||
install : true,
|
||||
install_dir : rootbindir)
|
||||
public_programs += [exe]
|
||||
|
||||
install_rpath : rootlibexecdir,
|
||||
install : true,
|
||||
install_dir : rootbindir)
|
||||
public_programs += [exe]
|
||||
endif
|
||||
############################################################
|
||||
|
||||
foreach tuple : tests
|
||||
|
@ -88,7 +88,7 @@ units = [
|
||||
'sockets.target.wants/'],
|
||||
['systemd-journald.socket', '',
|
||||
'sockets.target.wants/'],
|
||||
['systemd-networkd.socket', '',
|
||||
['systemd-networkd.socket', 'ENABLE_NETWORKD',
|
||||
join_paths(pkgsysconfdir, 'system/sockets.target.wants/')],
|
||||
['systemd-rfkill.socket', 'ENABLE_RFKILL'],
|
||||
['systemd-tmpfiles-clean.timer', '',
|
||||
|
Loading…
x
Reference in New Issue
Block a user