Changeset 690 in openpam for trunk/lib


Ignore:
Timestamp:
Aug 15, 2013, 1:22:51 PM (7 years ago)
Author:
Dag-Erling Smørgrav
Message:

The --with-modules-dir configure option never quite worked, and became
even more badly broken when the dynamic loader was rewritten in March.
Reimplement it the way it was always meant to work (but never did):

If --with-modules-dir was specified, modules will be installed in that
directory and the dynamic loader will look for them there. If it was
not specified, modules will be installed in libdir and the dynamic
loader will use the standard search path (/usr/lib:/usr/local/lib). In
both cases, a policy file can still name a module by its full path.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/libpam/openpam_constants.c

    r659 r690  
    136136
    137137const char *openpam_module_path[] = {
     138#ifdef OPENPAM_MODULES_DIRECTORY
     139        OPENPAM_MODULES_DIRECTORY,
     140#else
    138141        "/usr/lib",
    139142        "/usr/local/lib",
     143#endif
    140144        NULL
    141145};
Note: See TracChangeset for help on using the changeset viewer.