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 : true,
|
||||
install_dir : rootlibexecdir)
|
||||
endif
|
||||
|
||||
exe = executable('networkctl',
|
||||
networkctl_sources,
|
||||
|
@ -2212,7 +2211,7 @@ exe = executable('networkctl',
|
|||
install : true,
|
||||
install_dir : rootbindir)
|
||||
public_programs += [exe]
|
||||
|
||||
endif
|
||||
############################################################
|
||||
|
||||
foreach tuple : tests
|
||||
|
|
Loading…
Reference in New Issue