From: Vincent Bernat Date: Sun, 31 May 2020 06:01:32 +0000 (+0200) Subject: build: make unit tests work when systemtap support is enabled X-Git-Tag: 1.0.6~10 X-Git-Url: http://git.ipfire.org/?p=thirdparty%2Flldpd.git;a=commitdiff_plain;h=29fb4fef1ee5fa7fd7f59c8a759629016ea5a297 build: make unit tests work when systemtap support is enabled --- diff --git a/tests/Makefile.am b/tests/Makefile.am index 574f9ebf..5377bbed 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -8,6 +8,9 @@ TESTS = check_marshal check_pattern check_bitmap check_fixedpoint \ check_lldp check_cdp check_sonmp check_edp AM_CFLAGS += @check_CFLAGS@ LDADD = $(top_builddir)/src/daemon/liblldpd.la @check_LIBS@ @libevent_LDFLAGS@ +if ENABLE_SYSTEMTAP +LDADD += $(top_builddir)/src/daemon/probes.o +endif check_marshal_SOURCES = check_marshal.c \ $(top_srcdir)/src/marshal.h \