summaryrefslogtreecommitdiffstats
path: root/src/lib/cryptolink/tests
diff options
context:
space:
mode:
authorJelte Jansen <jelte@isc.org>2011-12-01 11:07:10 +0100
committerJelte Jansen <jelte@isc.org>2011-12-01 11:07:10 +0100
commit7715c727d25d6430cbdbd82e40bdb7b3fa2ea843 (patch)
treedbabb50a3b7009be9a4ed9204bdc38ae56e96115 /src/lib/cryptolink/tests
parent[1442] only do threads check when there is no gtest-config (diff)
downloadkea-7715c727d25d6430cbdbd82e40bdb7b3fa2ea843.tar.xz
kea-7715c727d25d6430cbdbd82e40bdb7b3fa2ea843.zip
[1442] split -L and -l and add botan ldflags first
our debian test system has old botan libs in the library path used for gtest, making it fail with unknown algorithm errors unless botan is specified first
Diffstat (limited to 'src/lib/cryptolink/tests')
-rw-r--r--src/lib/cryptolink/tests/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/cryptolink/tests/Makefile.am b/src/lib/cryptolink/tests/Makefile.am
index 9129427409..6ac6fdfd7c 100644
--- a/src/lib/cryptolink/tests/Makefile.am
+++ b/src/lib/cryptolink/tests/Makefile.am
@@ -16,7 +16,7 @@ TESTS += run_unittests
run_unittests_SOURCES = run_unittests.cc
run_unittests_SOURCES += crypto_unittests.cc
run_unittests_CPPFLAGS = $(AM_CPPFLAGS) $(GTEST_INCLUDES)
-run_unittests_LDFLAGS = $(AM_LDFLAGS) $(GTEST_LDFLAGS)
+run_unittests_LDFLAGS = $(BOTAN_LDFLAGS) $(GTEST_LDFLAGS) $(AM_LDFLAGS)
run_unittests_LDADD = $(GTEST_LDADD) $(BOTAN_LIBS)
run_unittests_LDADD += $(top_builddir)/src/lib/util/libutil.la
run_unittests_LDADD += $(top_builddir)/src/lib/cryptolink/libcryptolink.la