]> code.ossystems Code Review - openembedded-core.git/commit
at: fix configure option with/without-selinux
authorWenzong Fan <wenzong.fan@windriver.com>
Mon, 21 Mar 2016 02:10:19 +0000 (22:10 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 24 Mar 2016 21:44:25 +0000 (21:44 +0000)
commitf1f676cf720b869999553eecdb113a2a2daa61fe
tree43e68388fd9dc5bee3791895565246d580134486
parent79ec2ec397a35d6405f9c2b3c67e8b9981fbe7be
at: fix configure option with/without-selinux

without-selinux doesn't work since WITH_SELINUX is always be defined no
matter which option is given: with-selinux, without-selinux.

This causes build errors if '--without-selinux' is used and libselinux
is not buildable in project:

  atd.c:87:29: fatal error: selinux/selinux.h: No such file or directory

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-extended/at/at/configure-fix-with-without-selinux.patch [new file with mode: 0644]
meta/recipes-extended/at/at_3.1.18.bb