summaryrefslogtreecommitdiffabout
authorSergey Poznyakoff <gray@gnu.org>2019-03-27 20:25:58 (GMT)
committer Sergey Poznyakoff <gray@gnu.org>2019-03-27 20:25:58 (GMT)
commit7d1af236c928ef3f71757cf5ad6c4182851daa95 (patch) (side-by-side diff)
tree32f01605e7e89cc8a01d194e1d30ed514090033e
parent7abfb9aa170a745fe09ce41f2416f2874e751061 (diff)
downloadmailutils-7d1af236c928ef3f71757cf5ad6c4182851daa95.tar.gz
mailutils-7d1af236c928ef3f71757cf5ad6c4182851daa95.tar.bz2
Use <prog>_LDADD to link in libmu_test
This helps automake discover dependency on this library.
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--libmailutils/tests/Makefile.am6
-rw-r--r--libproto/dotmail/tests/Makefile.am2
2 files changed, 4 insertions, 4 deletions
diff --git a/libmailutils/tests/Makefile.am b/libmailutils/tests/Makefile.am
index b589c42..99b2341 100644
--- a/libmailutils/tests/Makefile.am
+++ b/libmailutils/tests/Makefile.am
@@ -87,11 +87,11 @@ noinst_PROGRAMS = \
wsp\
xscript
-fsfolder_LDFLAGS = -lmu_tesh $(LDADD)
+fsfolder_LDADD = libmu_tesh.la $(LDADD)
-linetrack_LDFLAGS = -lmu_tesh $(LDADD)
+linetrack_LDADD = libmu_tesh.la $(LDADD)
-listop_LDFLAGS = -lmu_tesh $(LDADD)
+listop_LDADD = libmu_tesh.la $(LDADD)
LDADD = ${MU_LIB_MAILUTILS}
diff --git a/libproto/dotmail/tests/Makefile.am b/libproto/dotmail/tests/Makefile.am
index 592b4df..cdf76c8 100644
--- a/libproto/dotmail/tests/Makefile.am
+++ b/libproto/dotmail/tests/Makefile.am
@@ -43,7 +43,7 @@ noinst_PROGRAMS = \
dm_mesg\
dm_qget\
dm_detect
-dm_mesg_LDFLAGS = -L$(top_builddir)/libmailutils/tests -lmu_tesh $(LDADD)
+dm_mesg_LDADD = -L$(top_builddir)/libmailutils/tests -lmu_tesh $(LDADD)
dm_mesg_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_srcdir)/libmailutils/tests
LDADD = ${MU_LIB_DOTMAIL} ${MU_LIB_MAILUTILS}

Return to:

Send suggestions and report system problems to the System administrator.