From b6e995558a36719d9ed5383d1e19587d3e1be831 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Niels=20M=C3=B6ller?= <nisse@lysator.liu.se>
Date: Wed, 4 Dec 2002 16:58:42 +0100
Subject: [PATCH] (LDADD): Added path to ../libnettle.a, which is redundant
 except for the dependency.

Rev: src/nettle/testsuite/Makefile.am:1.32
---
 testsuite/Makefile.am | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/testsuite/Makefile.am b/testsuite/Makefile.am
index 7555722c..a5d1162c 100644
--- a/testsuite/Makefile.am
+++ b/testsuite/Makefile.am
@@ -24,7 +24,10 @@ TS_ALL = $(TS_PROGS) $(TS_SH)
 
 noinst_PROGRAMS = $(TS_PROGS)
 
-LDADD = testutils.o -lnettle
+# libnettle.a is added at the end to make sure all programs depend on it.
+# It seems there's no DEPENDENCIES variable that affects all programs.
+
+LDADD = testutils.o -lnettle ../libnettle.a
 EXTRA_DIST = $(TS_SH) testutils.c testutils.h \
 	     run-tests rfc1750.txt
 
-- 
GitLab