From bd4be3f589331d07248c5fe68dc12ec7778106f7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Niels=20M=C3=B6ller?= <nisse@lysator.liu.se>
Date: Wed, 29 Jan 2003 16:23:27 +0100
Subject: [PATCH] (LDADD): Add libnettle.a, for the dependency.

Rev: src/nettle/tools/Makefile.am:1.4
---
 tools/Makefile.am | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/tools/Makefile.am b/tools/Makefile.am
index 1a4863c2..a60852a4 100644
--- a/tools/Makefile.am
+++ b/tools/Makefile.am
@@ -7,7 +7,9 @@ AM_LDFLAGS = -L..
 
 bin_PROGRAMS = sexp-conv
 
-LDADD = -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 = -lnettle ../libnettle.a
 
 EXTRA_DIST = misc.h input.h output.h parse.h
 
-- 
GitLab