diff libpam-sys/libpam-sys-test/build.rs @ 118:39760dfc9b3b

Detect PAM library based only on system lib; rename minimal lib to XSso. Also formats and assorted other cleanup.
author Paul Fisher <paul@pfish.zone>
date Sun, 29 Jun 2025 20:13:03 -0400
parents 93d423b65555
children 397743cb70e2
line wrap: on
line diff
--- a/libpam-sys/libpam-sys-test/build.rs	Sun Jun 29 18:48:14 2025 -0400
+++ b/libpam-sys/libpam-sys-test/build.rs	Sun Jun 29 20:13:03 2025 -0400
@@ -18,7 +18,11 @@
             "security/pam_ext.h".into(),
             "security/pam_modules.h".into(),
         ],
-        ignore_consts: vec!["__LINUX_PAM__".into(), "__LINUX_PAM_MINOR__".into()],
+        ignore_consts: vec![
+            "__LINUX_PAM__".into(),
+            "__LINUX_PAM_MINOR__".into(),
+            "PAM_AUTHTOK_RECOVER_ERR".into(),
+        ],
     }
 }