summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
diff options
context:
space:
mode:
authorMatthew McClintock <msm@freescale.com>2012-08-20 15:51:03 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-09-28 15:53:02 (GMT)
commitb96bd8465ab953bdeb166923777751bc9bbd85b4 (patch)
treebc7a359a210342e6a691dba8b4831c1825bd56b4 /meta/recipes-core
parent65ffa7395055f7e012cb973f63f92380828eed0d (diff)
downloadpoky-b96bd8465ab953bdeb166923777751bc9bbd85b4.tar.gz
dbus.inc: disable selinux for native builds
(Note: Upstream master has disabled selinux for this AFAICT) Fixes issues such as: | /usr/bin/ld: cannot find -lselinux | collect2: ld returned 1 exit status | make[3]: *** [libdbus-glib-1.la] Error 1 (From OE-Core rev: 7ee10f25430421dc6e9552ffe15a6a5acbd4cb51) Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r--meta/recipes-core/dbus/dbus.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-core/dbus/dbus.inc b/meta/recipes-core/dbus/dbus.inc
index a75583d..e9e287b 100644
--- a/meta/recipes-core/dbus/dbus.inc
+++ b/meta/recipes-core/dbus/dbus.inc
@@ -10,7 +10,7 @@ DEPENDS = "expat virtual/libintl ${@base_contains('DISTRO_FEATURES', 'x11', '${X
10DEPENDS_virtclass-native = "expat-native virtual/libintl-native" 10DEPENDS_virtclass-native = "expat-native virtual/libintl-native"
11DEPENDS_virtclass-nativesdk = "expat-nativesdk virtual/libintl-nativesdk virtual/libx11" 11DEPENDS_virtclass-nativesdk = "expat-nativesdk virtual/libintl-nativesdk virtual/libx11"
12 12
13INC_PR = "r3" 13INC_PR = "r4"
14 14
15SRC_URI = "http://dbus.freedesktop.org/releases/dbus/dbus-${PV}.tar.gz \ 15SRC_URI = "http://dbus.freedesktop.org/releases/dbus/dbus-${PV}.tar.gz \
16 file://tmpdir.patch; \ 16 file://tmpdir.patch; \
@@ -70,6 +70,8 @@ EXTRA_OECONF = "--disable-tests \
70 --with-systemdsystemunitdir=${systemd_unitdir}/system/ \ 70 --with-systemdsystemunitdir=${systemd_unitdir}/system/ \
71 ${EXTRA_OECONF_X}" 71 ${EXTRA_OECONF_X}"
72 72
73EXTRA_OECONF_append_virtclass-native = " --disable-selinux"
74
73do_install() { 75do_install() {
74 autotools_do_install 76 autotools_do_install
75 77