[meta-gnome] network-manager-applet: add selinux to PACKAGECONFIG if enable selinux distro feature

Submitted by Yi Zhao on Aug. 13, 2021, 4:42 a.m. | Patch ID: 180063

Details

Message ID 20210813044213.125664-3-yi.zhao@windriver.com
State Accepted
Commit 9a93c7666fcf8b22318e5e814a373245f3e20f1d
Headers show

Commit Message

Yi Zhao Aug. 13, 2021, 4:42 a.m.
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
---
 .../network-manager-applet/network-manager-applet_1.22.0.bb     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/meta-gnome/recipes-connectivity/network-manager-applet/network-manager-applet_1.22.0.bb b/meta-gnome/recipes-connectivity/network-manager-applet/network-manager-applet_1.22.0.bb
index 28d95d442..cef7c7569 100644
--- a/meta-gnome/recipes-connectivity/network-manager-applet/network-manager-applet_1.22.0.bb
+++ b/meta-gnome/recipes-connectivity/network-manager-applet/network-manager-applet_1.22.0.bb
@@ -16,7 +16,7 @@  EXTRA_OEMESON = "-Dappindicator=no"
 # We currently don't build NetworkManager with libteamdctl support
 EXTRA_OEMESON += "-Dteam=false"
 
-PACKAGECONFIG ??= ""
+PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'selinux', d)}"
 PACKAGECONFIG[modemmanager] = "-Dwwan=true, -Dwwan=false, modemmanager"
 PACKAGECONFIG[selinux] = "-Dselinux=true, -Dselinux=false, libselinux"