diff options
author | des <des@FreeBSD.org> | 2015-09-21 17:26:35 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2015-09-21 17:26:35 +0000 |
commit | ea85485818843faacde44e40da05823ce03c94f0 (patch) | |
tree | 6a0a95595d8d4f61f96b42277b0a1dd533818116 /contrib/openpam | |
parent | 7504a922006cc2270bb780225deb7bb8f633fd17 (diff) | |
download | FreeBSD-src-ea85485818843faacde44e40da05823ce03c94f0.zip FreeBSD-src-ea85485818843faacde44e40da05823ce03c94f0.tar.gz |
Restore the upstream (and documented) behavior of searching for modules
both in /usr/lib and /usr/local/lib, thus simplifying the use of modules
from ports, without breaking the compat32 case again.
PR: 191151
MFC after: 3 weeks
Diffstat (limited to 'contrib/openpam')
-rw-r--r-- | contrib/openpam/lib/libpam/openpam_constants.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/openpam/lib/libpam/openpam_constants.c b/contrib/openpam/lib/libpam/openpam_constants.c index 1cdd810..b718af9 100644 --- a/contrib/openpam/lib/libpam/openpam_constants.c +++ b/contrib/openpam/lib/libpam/openpam_constants.c @@ -137,6 +137,9 @@ const char *openpam_policy_path[] = { const char *openpam_module_path[] = { #ifdef OPENPAM_MODULES_DIRECTORY OPENPAM_MODULES_DIRECTORY, +#elif COMPAT_32BIT + "/usr/lib32", + "/usr/local/lib32", #else "/usr/lib", "/usr/local/lib", |