]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
build: make unit tests work when systemtap support is enabled
authorVincent Bernat <vincent@bernat.ch>
Sun, 31 May 2020 06:01:32 +0000 (08:01 +0200)
committerVincent Bernat <vincent@bernat.ch>
Sun, 31 May 2020 06:01:32 +0000 (08:01 +0200)
tests/Makefile.am

index 574f9ebfea9d2136d8e8534937f187d3f5579a41..5377bbed46cd86fabc1306524fccadd3ce8c1243 100644 (file)
@@ -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 \