[oe-commits] [meta-openembedded] 71/73: ndctl: fix compile issue

git at git.openembedded.org git at git.openembedded.org
Sun Nov 25 20:56:22 UTC 2018


This is an automated email from the git hooks/post-receive script.

armin_kuster pushed a commit to branch thud-next
in repository meta-openembedded.

commit cd7101c8650902168489dbe0a63519e2ab85dd63
Author: Armin Kuster <akuster808 at gmail.com>
AuthorDate: Sun Nov 18 09:08:19 2018 -0800

    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 at gmail.com>
    Signed-off-by: Khem Raj <raj.khem at gmail.com>
    Signed-off-by: Armin Kuster <akuster808 at gmail.com>
---
 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 b20915f..048f166 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
 }

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list