diff mbox series

[meta-oe,3/5] malcontent: set pam module path to ${base_libdir}/security

Message ID 20250106082152.882222-3-yi.zhao@windriver.com
State Accepted
Headers show
Series [meta-oe,1/5] snapper: set pam module path to ${base_libdir}/security | expand

Commit Message

Yi Zhao Jan. 6, 2025, 8:21 a.m. UTC
Set pam module path to ${base_libdir}/security as this is the default
path in libpam.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
---
 meta-oe/recipes-gnome/malcontent/malcontent.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/meta-oe/recipes-gnome/malcontent/malcontent.bb b/meta-oe/recipes-gnome/malcontent/malcontent.bb
index b30d85080b..9da95329a8 100644
--- a/meta-oe/recipes-gnome/malcontent/malcontent.bb
+++ b/meta-oe/recipes-gnome/malcontent/malcontent.bb
@@ -24,10 +24,10 @@  REQUIRED_DISTRO_FEATURES = "pam polkit gobject-introspection"
 PACKAGECONFIG ?= "ui"
 PACKAGECONFIG[ui] = ",,,malcontent-ui"
 
-EXTRA_OEMESON = "-Dui=disabled"
+EXTRA_OEMESON = "-Dui=disabled -Dpamlibdir=${base_libdir}/security"
 
 FILES:${PN} += " \
-	${libdir}/security/pam_malcontent.so \
+	${base_libdir}/security/pam_malcontent.so \
 	${datadir}/accountsservice \
 	${datadir}/help \
 	${datadir}/dbus-1 \