login: conditionally build lastlog functionality

Resolves: https://github.com/shadow-maint/shadow/issues/674

Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
This commit is contained in:
Iker Pedrosa
2023-07-13 12:59:33 +02:00
committed by Serge Hallyn
parent 1bdcfa8d37
commit 84a10ca019
3 changed files with 18 additions and 1 deletions
+4 -1
View File
@@ -48,7 +48,7 @@ libmisc_la_SOURCES = \
idmapping.c \
isexpired.c \
limits.c \
list.c log.c \
list.c \
loginprompt.c \
mail.c \
mempcpy.c \
@@ -92,3 +92,6 @@ if WITH_BTRFS
libmisc_la_SOURCES += btrfs.c
endif
if ENABLE_LASTLOG
libmisc_la_SOURCES += log.c
endif