From fc9caba617cac02a205fb63b87b08fbc5c6a2955 Mon Sep 17 00:00:00 2001 From: Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> Date: Tue, 19 Dec 2023 14:34:05 +0100 Subject: Hopefully fix build --- plugins/Makefile.am | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'plugins/Makefile.am') diff --git a/plugins/Makefile.am b/plugins/Makefile.am index 8ef2a246..0a720b2d 100644 --- a/plugins/Makefile.am +++ b/plugins/Makefile.am @@ -118,7 +118,8 @@ check_real_LDADD = $(NETLIBS) check_snmp_LDADD = $(BASEOBJS) check_smtp_LDADD = $(SSLOBJS) check_ssh_LDADD = $(NETLIBS) -check_swap_LDADD = $(MATHLIBS) $(BASEOBJS) check_swap.d/swap.o +check_swap_SOURCES = check_swap.c check_swap.d/swap.c +check_swap_LDADD = $(MATHLIBS) $(BASEOBJS) check_tcp_LDADD = $(SSLOBJS) check_time_LDADD = $(NETLIBS) check_ntp_time_LDADD = $(NETLIBS) $(MATHLIBS) @@ -133,7 +134,8 @@ if !HAVE_UTMPX check_users_LDADD += popen.o endif -tests_test_check_swap_LDADD = $(BASEOBJS) check_swap.d/swap.o $(tap_ldflags) -ltap +tests_test_check_swap_LDADD = $(BASEOBJS) $(tap_ldflags) -ltap +tests_test_check_swap_SOURCES = check_swap.c check_swap.d/swap.c ############################################################################## # secondary dependencies -- cgit v1.2.3-74-g34f1