glib.inc: disable selinux for native builds

In addition to dbus, we also need to disable selinux for glib as well
otherwise we will get the same link error

(Note: Upstream master has disabled selinux AFAICT)

(From OE-Core rev: 318bc896b1bd5399807a417865b8e088d9d9eb15)

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Matthew McClintock
2012-08-20 11:09:34 -05:00
committed by Richard Purdie
parent b96bd8465a
commit 758677e212
3 changed files with 3 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
require dbus-glib.inc
PR = "r0"
PR = "r1"
SRC_URI[md5sum] = "3f7f117dc7c8d899d9acfdcbf9253fb8"
SRC_URI[sha256sum] = "297c81d6bb8b1c312e9b0ccfe91eb28ec0672756abb64dfb7bbe2b5f1ae5d111"

View File

@@ -1,6 +1,6 @@
require glib.inc
PR = "r1"
PR = "r2"
PE = "1"
DEPENDS += "libffi python-argparse-native zlib"

View File

@@ -26,7 +26,7 @@ inherit autotools pkgconfig gettext
S = "${WORKDIR}/glib-${PV}"
EXTRA_OECONF = "--disable-debug --enable-included-printf=no --disable-dtrace --disable-fam"
EXTRA_OECONF_virtclass-native = "--disable-dtrace --disable-systemtap --disable-fam"
EXTRA_OECONF_virtclass-native = "--disable-dtrace --disable-systemtap --disable-fam --disable-selinux"
EXTRA_OECONF_linuxstdbase = "--enable-included-printf=no --disable-dtrace --disable-fam"
FILES_${PN} = "${libdir}/lib*${SOLIBS} ${sysconfdir}/bash_completion.d ${datadir}/glib-2.0/schemas"