mirror of
https://git.yoctoproject.org/poky
synced 2026-09-15 15:49:32 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
65ffa73950
commit
b96bd8465a
@@ -10,7 +10,7 @@ DEPENDS = "expat virtual/libintl ${@base_contains('DISTRO_FEATURES', 'x11', '${X
|
|||||||
DEPENDS_virtclass-native = "expat-native virtual/libintl-native"
|
DEPENDS_virtclass-native = "expat-native virtual/libintl-native"
|
||||||
DEPENDS_virtclass-nativesdk = "expat-nativesdk virtual/libintl-nativesdk virtual/libx11"
|
DEPENDS_virtclass-nativesdk = "expat-nativesdk virtual/libintl-nativesdk virtual/libx11"
|
||||||
|
|
||||||
INC_PR = "r3"
|
INC_PR = "r4"
|
||||||
|
|
||||||
SRC_URI = "http://dbus.freedesktop.org/releases/dbus/dbus-${PV}.tar.gz \
|
SRC_URI = "http://dbus.freedesktop.org/releases/dbus/dbus-${PV}.tar.gz \
|
||||||
file://tmpdir.patch; \
|
file://tmpdir.patch; \
|
||||||
@@ -70,6 +70,8 @@ EXTRA_OECONF = "--disable-tests \
|
|||||||
--with-systemdsystemunitdir=${systemd_unitdir}/system/ \
|
--with-systemdsystemunitdir=${systemd_unitdir}/system/ \
|
||||||
${EXTRA_OECONF_X}"
|
${EXTRA_OECONF_X}"
|
||||||
|
|
||||||
|
EXTRA_OECONF_append_virtclass-native = " --disable-selinux"
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
autotools_do_install
|
autotools_do_install
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user