mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
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 <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 33da50f014)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
8434015479
commit
28638c2223
@@ -17,6 +17,7 @@ RPCBIND_CONF_OPTS += --with-rpcuser=root
|
|||||||
|
|
||||||
ifeq ($(BR2_INIT_SYSTEMD),y)
|
ifeq ($(BR2_INIT_SYSTEMD),y)
|
||||||
RPCBIND_CONF_OPTS += --with-systemdsystemunitdir=/usr/lib/systemd/system
|
RPCBIND_CONF_OPTS += --with-systemdsystemunitdir=/usr/lib/systemd/system
|
||||||
|
RPCBIND_DEPENDENCIES += systemd
|
||||||
else
|
else
|
||||||
RPCBIND_CONF_OPTS += --with-systemdsystemunitdir=no
|
RPCBIND_CONF_OPTS += --with-systemdsystemunitdir=no
|
||||||
endif
|
endif
|
||||||
|
|||||||
Reference in New Issue
Block a user