summaryrefslogtreecommitdiff
path: root/src/resolve
diff options
context:
space:
mode:
authoruserwithuid <userwithuid@gmail.com>2017-04-27 17:22:40 +0000
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-04-27 13:22:40 -0400
commitd8431fc3f4f49f4420f7afe3e0363092563378a3 (patch)
tree0c02c3b3ba29fa23c996e5dc7eaf5b327f0db151 /src/resolve
parent77018a8c267c08ee8f70f51963e7fcc3bca70ba8 (diff)
downloadsystemd-d8431fc3f4f49f4420f7afe3e0363092563378a3.tar.gz
build-sys: only install libexecdir/resolv.conf if resolved is enabled (#5826)
as mentioned in https://github.com/systemd/systemd/pull/5811
Diffstat (limited to 'src/resolve')
-rw-r--r--src/resolve/meson.build6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/resolve/meson.build b/src/resolve/meson.build
index 46a417e766..347ffaaeca 100644
--- a/src/resolve/meson.build
+++ b/src/resolve/meson.build
@@ -135,10 +135,10 @@ if conf.get('ENABLE_RESOLVED', 0) == 1
configuration : substs)
install_data(resolved_conf,
install_dir : pkgsysconfdir)
-endif
-install_data('resolv.conf',
- install_dir : rootlibexecdir)
+ install_data('resolv.conf',
+ install_dir : rootlibexecdir)
+endif
tests += [
[['src/resolve/test-resolve-tables.c',