From daef1b06597b690228dcf62602a7d52b37f8c8d5 Mon Sep 17 00:00:00 2001
From: "Brett T. Warden" <brett.t.warden@intel.com>
Date: Tue, 7 May 2024 10:48:09 -0700
Subject: [PATCH] Use prefix to determine pam_modules_dir

---
 pam/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pam/meson.build b/pam/meson.build
index 8b5bc7e..9f9691b 100644
--- a/pam/meson.build
+++ b/pam/meson.build
@@ -1,7 +1,7 @@
 mapfile = files('pam_fprintd.ver')
 pam_modules_dir = get_option('pam_modules_dir')
 if pam_modules_dir == ''
-    pam_modules_dir = '/' / get_option('libdir') / 'security'
+    pam_modules_dir = get_option('prefix') / get_option('libdir') / 'security'
 endif
 
 pam_fprintd = shared_module('pam_fprintd',
-- 
GitLab

