[Buildroot] [git commit branch/2019.02.x] package/rpcbind: add systemd as a build-time dependency

Peter Korsgaard peter at korsgaard.com
Fri Nov 29 15:04:20 UTC 2019


commit: https://git.buildroot.net/buildroot/commit/?id=51eade9d3c8d0dd9ccd081e9e8baecaa109e160b
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2019.02.x

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 <matthew.weber at rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
(cherry picked from commit 33da50f0142f9e062df136c8c3cdd67036791e1f)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 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


More information about the buildroot mailing list