From 51eade9d3c8d0dd9ccd081e9e8baecaa109e160b Mon Sep 17 00:00:00 2001 From: Matt Weber Date: Wed, 20 Nov 2019 09:00:15 -0600 Subject: [PATCH] package/rpcbind: add systemd as a build-time dependency When systemd support is enabled, systemd should be built before, otherwise the build fails with: checking for SYSTEMD... no configure: error: libsystemd support requested but found package/pkg-generic.mk:228: recipe for target Signed-off-by: Matthew Weber Signed-off-by: Thomas Petazzoni (cherry picked from commit 33da50f0142f9e062df136c8c3cdd67036791e1f) Signed-off-by: Peter Korsgaard --- package/rpcbind/rpcbind.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/rpcbind/rpcbind.mk b/package/rpcbind/rpcbind.mk index 5c216afc93..d69735d32e 100644 --- a/package/rpcbind/rpcbind.mk +++ b/package/rpcbind/rpcbind.mk @@ -17,6 +17,7 @@ RPCBIND_CONF_OPTS += --with-rpcuser=root ifeq ($(BR2_INIT_SYSTEMD),y) RPCBIND_CONF_OPTS += --with-systemdsystemunitdir=/usr/lib/systemd/system +RPCBIND_DEPENDENCIES += systemd else RPCBIND_CONF_OPTS += --with-systemdsystemunitdir=no endif