Makefile.am: fix tmpfiles linking issues

Fix the following linking issues of tmpfiles:
| exec.c:308: warning: stty is not implemented and will always fail
| plugin.c:237: undefined reference to `run_parts'

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
This commit is contained in:
Ming Liu
2025-06-27 14:31:02 +02:00
parent 8be7a462e0
commit 0c2836d747
+6 -3
View File
@@ -43,9 +43,12 @@ sulogin_SOURCES = sulogin.c
sulogin_CFLAGS = -W -Wall -Wextra -std=gnu99
sulogin_LDADD = -lcrypt
tmpfiles_SOURCES = tmpfiles.c helpers.c util.c exec.c log.c \
svc.c sig.c sm.c api.c mount.c service.c schedule.c cond.c cond-w.c pid.c plugin.c \
utmp-api.c client.c cgroup.c mdadm.c tty.c iwatch.c conf.c devmon.c logrotate.c
tmpfiles_SOURCES = tmpfiles.c helpers.c util.c exec.c log.c \
svc.c sig.c sm.c api.c mount.c service.c \
schedule.c cond.c cond-w.c pid.c plugin.c \
utmp-api.c client.c cgroup.c mdadm.c tty.c \
iwatch.c conf.c devmon.c logrotate.c stty.c \
runparts.c
tmpfiles_CFLAGS = -W -Wall -Wextra -std=gnu99 -D__FINIT__
tmpfiles_CFLAGS += $(lite_CFLAGS) $(uev_CFLAGS)
tmpfiles_LDADD = $(lite_LIBS) $(uev_LIBS)