mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-14 05:49:57 +00:00
ndctl: fix compile issue
| No package 'systemd' found | configure: error: systemd support requested but pkg-config unable to query systemd package add PACKCONFIG to disable systemd Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
@@ -21,6 +21,9 @@ S = "${WORKDIR}/git"
|
||||
|
||||
EXTRA_OECONF += "--enable-test --enable-destructive --disable-docs"
|
||||
|
||||
PACKAGECONFIG ??= ""
|
||||
PACKAGECONFIG[systemd] = "--with-systemd-unit-dir=${systemd_system_unitdir}, --without-systemd-unit-dir,"
|
||||
|
||||
do_configure_prepend() {
|
||||
${S}/autogen.sh
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user