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:
committed by
Serge Hallyn
parent
1bdcfa8d37
commit
84a10ca019
+4
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user