build-sys: don't build networkctl if networkd is disabled
This commit is contained in:
parent
521d3679c1
commit
dcfe072ad6
|
@ -2201,7 +2201,6 @@ 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,
|
||||||
|
@ -2212,7 +2211,7 @@ exe = executable('networkctl',
|
||||||
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