aboutsummaryrefslogtreecommitdiffstats
path: root/tools/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'tools/Makefile.am')
-rw-r--r--tools/Makefile.am11
1 files changed, 6 insertions, 5 deletions
diff --git a/tools/Makefile.am b/tools/Makefile.am
index 72f0b5e97..4e261ca34 100644
--- a/tools/Makefile.am
+++ b/tools/Makefile.am
@@ -4,8 +4,9 @@ EXTRA_DIST = lspgpot mail-signed-keys ring-a-party
INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/intl
# we need to add libutil.la a second time because we have to resolve
# gpg_log_ in some libjnlib modules. - very ugly - should be removed soon.
-needed_libs = ../util/libutil.a -lgcrypt \
- ../jnlib/libjnlib.a ../util/libutil.a @INTLLIBS@
+needed_libs = ../util/libutil.a \
+ ../jnlib/libjnlib.a ../util/libutil.a \
+ @INTLLIBS@
noinst_PROGRAMS = mpicalc bftest clean-sat mk-tdata shmtest
@@ -19,10 +20,10 @@ mk_tdata_SOURCES = mk-tdata.c
shmtest_SOURCES = shmtest.c
-mpicalc_LDADD = $(needed_libs)
-bftest_LDADD = $(needed_libs)
+mpicalc_LDADD = $(needed_libs) $(LIBGCRYPT_LIBS)
+bftest_LDADD = $(needed_libs) $(LIBGCRYPT_LIBS)
-shmtest_LDADD = $(needed_libs)
+shmtest_LDADD = $(needed_libs) $(LIBGCRYPT_LIBS)
mpicalc bftest shmtest: $(needed_libs)