build-sys: don't build networkctl if networkd is disabled
This commit is contained in:
parent
521d3679c1
commit
dcfe072ad6
19
meson.build
19
meson.build
|
@ -2201,18 +2201,17 @@ if conf.get('ENABLE_NETWORKD', false)
|
||||||
install_rpath : rootlibexecdir,
|
install_rpath : rootlibexecdir,
|
||||||
install : true,
|
install : true,
|
||||||
install_dir : rootlibexecdir)
|
install_dir : rootlibexecdir)
|
||||||
endif
|
|
||||||
|
|
||||||
exe = executable('networkctl',
|
exe = executable('networkctl',
|
||||||
networkctl_sources,
|
networkctl_sources,
|
||||||
include_directories : includes,
|
include_directories : includes,
|
||||||
link_with : [libsystemd_network,
|
link_with : [libsystemd_network,
|
||||||
libshared],
|
libshared],
|
||||||
install_rpath : rootlibexecdir,
|
install_rpath : rootlibexecdir,
|
||||||
install : true,
|
install : true,
|
||||||
install_dir : rootbindir)
|
install_dir : rootbindir)
|
||||||
public_programs += [exe]
|
public_programs += [exe]
|
||||||
|
endif
|
||||||
############################################################
|
############################################################
|
||||||
|
|
||||||
foreach tuple : tests
|
foreach tuple : tests
|
||||||
|
|
Loading…
Reference in a new issue