From b252ab668f705cf23694ca693f524e2292320a56 Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Thu, 28 Sep 2017 21:20:33 +0200 Subject: [PATCH] build,tests: make sure tests are rebuilt if helper libs are updated --- src/tests/Makefile.am | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/tests/Makefile.am b/src/tests/Makefile.am index c5bb61d8..ea69da2e 100644 --- a/src/tests/Makefile.am +++ b/src/tests/Makefile.am @@ -20,12 +20,15 @@ AM_CFLAGS = \ -DTESTUDEVRULESDIR=\"${top_srcdir}/src/\" \ $(NULL) -AM_LDFLAGS = \ - $(MM_LIBS) \ - $(CODE_COVERAGE_LDFLAGS) \ +LDADD = \ $(top_builddir)/src/libhelpers.la \ $(top_builddir)/src/libport.la \ $(top_builddir)/src/libkerneldevice.la \ + $(NULL) + +AM_LDFLAGS = \ + $(MM_LIBS) \ + $(CODE_COVERAGE_LDFLAGS) \ -lutil \ $(NULL)