summaryrefslogtreecommitdiffstats
path: root/libs/opencdk/patches/100-fix-tests-build
blob: c4df1a0ed0d0cbf3011831bc9d532bd8ede4d43e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -34,7 +34,7 @@
 
 CLEANFILES = plain-test
 
-LDADD = ../src/libopencdk.la
+LDADD = ../src/libopencdk.la $(LIBGCRYPT_LIBS)
 
 if HAVE_W32_SYSTEM
 # there is a problem with some tests and WINE
--- a/tests/Makefile.in
+++ b/tests/Makefile.in
@@ -258,7 +258,7 @@
 AM_LDFLAGS = -no-install
 AM_CPPFLAGS = $(LIBGCRYPT_CFLAGS)
 CLEANFILES = plain-test
-LDADD = ../src/libopencdk.la
+LDADD = ../src/libopencdk.la $(LIBGCRYPT_LIBS)
 noinst_HEADER = t-support.h
 all: all-am