summaryrefslogtreecommitdiff
path: root/src/grp-hostname
diff options
context:
space:
mode:
Diffstat (limited to 'src/grp-hostname')
-rw-r--r--src/grp-hostname/hostnamectl/Makefile2
-rw-r--r--src/grp-hostname/systemd-hostnamed/Makefile2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/grp-hostname/hostnamectl/Makefile b/src/grp-hostname/hostnamectl/Makefile
index c728acce7b..5285beca4b 100644
--- a/src/grp-hostname/hostnamectl/Makefile
+++ b/src/grp-hostname/hostnamectl/Makefile
@@ -29,6 +29,7 @@ hostnamectl_SOURCES = \
src/hostname/hostnamectl.c
hostnamectl_LDADD = \
+ libsystemd-internal.la \
libsystemd-shared.la
bin_PROGRAMS += \
@@ -39,6 +40,7 @@ dist_bashcompletion_data += \
dist_zshcompletion_data += \
shell-completion/zsh/_hostnamectl
+
endif # ENABLE_HOSTNAMED
include $(topsrcdir)/build-aux/Makefile.tail.mk
diff --git a/src/grp-hostname/systemd-hostnamed/Makefile b/src/grp-hostname/systemd-hostnamed/Makefile
index 0c8f0b5ae6..cce065ccd4 100644
--- a/src/grp-hostname/systemd-hostnamed/Makefile
+++ b/src/grp-hostname/systemd-hostnamed/Makefile
@@ -28,6 +28,7 @@ systemd_hostnamed_SOURCES = \
src/hostname/hostnamed.c
systemd_hostnamed_LDADD = \
+ libsystemd-internal.la \
libsystemd-shared.la
rootlibexec_PROGRAMS += \
@@ -55,6 +56,7 @@ BUSNAMES_TARGET_WANTS += \
org.freedesktop.hostname1.busname
endif # ENABLE_HOSTNAMED
+
polkitpolicy_in_files += \
src/hostname/org.freedesktop.hostname1.policy.in