From cd7101c8650902168489dbe0a63519e2ab85dd63 Mon Sep 17 00:00:00 2001 From: Armin Kuster Date: Sun, 18 Nov 2018 09:08:19 -0800 Subject: 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 Signed-off-by: Khem Raj Signed-off-by: Armin Kuster --- meta-oe/recipes-core/ndctl/ndctl_git.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta-oe/recipes-core/ndctl/ndctl_git.bb b/meta-oe/recipes-core/ndctl/ndctl_git.bb index b20915f20f..048f166fcd 100644 --- a/meta-oe/recipes-core/ndctl/ndctl_git.bb +++ b/meta-oe/recipes-core/ndctl/ndctl_git.bb @@ -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 } -- cgit 1.2.3-korg