From: Felipe Sateler Date: Mon, 21 Aug 2017 12:48:41 +0000 (-0300) Subject: build-sys: don't build networkctl if networkd is disabled X-Git-Tag: v235~221^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=dcfe072ad6c7e6c6bc62d26d9c25dcc544317b0c;p=thirdparty%2Fsystemd.git build-sys: don't build networkctl if networkd is disabled --- diff --git a/meson.build b/meson.build index 9a8f93f0cfc..67df9a45997 100644 --- a/meson.build +++ b/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