diff options
| author | rin <rin@NetBSD.org> | 2020-05-23 00:43:33 +0000 |
|---|---|---|
| committer | rin <rin@NetBSD.org> | 2020-05-23 00:43:33 +0000 |
| commit | 8dc58f5ad08dce3e4e93c2267ddc31c052fcbcfe (patch) | |
| tree | c90aaa86523179ec36d21c5c18ee57f209a0c0ae /lib/libpam/modules | |
| parent | a73a5ec213b87ced83e93bfca5f55aedcc721662 (diff) | |
Fix fallout from NO_STATIC_MODULES -> OPENPAM_STATIC_MODULES changes;
libpam.a fails to load any modules and does not work at all.
At the moment, openpam_load.c at least must be compiled with and without
OPENPAM_STATIC_MODULES for static and shared libraries, respectively.
Therefore, use CSHLIBFLAGS again, in order to build objects for static and
shared libraries separately.
This may be ugly, but seems better for me than adding further hacks in
libpam/libpam/Makefile, which is already complicated enough...
Diffstat (limited to 'lib/libpam/modules')
| -rw-r--r-- | lib/libpam/modules/mod.mk | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libpam/modules/mod.mk b/lib/libpam/modules/mod.mk index 989dec0c253..18aa6b45c67 100644 --- a/lib/libpam/modules/mod.mk +++ b/lib/libpam/modules/mod.mk @@ -1,4 +1,4 @@ -# $NetBSD: mod.mk,v 1.16 2020/04/29 02:16:57 riastradh Exp $ +# $NetBSD: mod.mk,v 1.17 2020/05/23 00:43:33 rin Exp $ NOLINT= # don't build a lint library NOPROFILE= # don't build a profile library @@ -21,7 +21,6 @@ LIBDPLIBS+= pam ${NETBSDSRCDIR}/lib/libpam/libpam libinstall:: ${DESTDIR}${LIBDIR}/${LIB}.so.${SHLIB_MAJOR} .else libinstall:: -CPPFLAGS+= -DOPENPAM_STATIC_MODULES .endif .include <bsd.lib.mk> |
