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:
Armin Kuster 2018-11-18 09:08:19 -08:00
parent 532303733b
commit cd7101c865

View File

@ -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
}