From: Timo Sirainen Date: Mon, 20 Jun 2016 10:33:05 +0000 (+0300) Subject: lib-dcrypt: Added library dependencies to unit tests X-Git-Tag: 2.2.25.rc1~95 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=44911be2c997639ca0dc2200138cfa04c7c4ac7b;p=thirdparty%2Fdovecot%2Fcore.git lib-dcrypt: Added library dependencies to unit tests --- diff --git a/src/lib-dcrypt/Makefile.am b/src/lib-dcrypt/Makefile.am index af25c10b53..b51e774ab4 100644 --- a/src/lib-dcrypt/Makefile.am +++ b/src/lib-dcrypt/Makefile.am @@ -48,15 +48,19 @@ check-test: all-am if ! $(RUN_TEST) ./$$bin; then exit 1; fi; \ done -LIBDOVECOT_TEST = \ +LIBDOVECOT_TEST_DEPS = \ ../lib-test/libtest.la \ - ../lib/liblib.la \ + ../lib/liblib.la +LIBDOVECOT_TEST = \ + $(LIBDOVECOT_TEST_DEPS) \ $(MODULE_LIBS) test_crypto_LDADD = $(LIBDOVECOT_TEST) +test_crypto_DEPENDENCIES = $(LIBDOVECOT_TEST_DEPS) test_crypto_CFLAGS = $(AM_CPPFLAGS) -DDCRYPT_MODULE_DIR=\".libs\" -DDCRYPT_SRC_DIR=\"$(top_srcdir)/src/lib-dcrypt\" test_crypto_SOURCES = $(libdcrypt_la_SOURCES) test-crypto.c test_stream_LDADD = $(LIBDOVECOT_TEST) +test_stream_DEPENDENCIES = $(LIBDOVECOT_TEST_DEPS) test_stream_CFLAGS = $(AM_CPPFLAGS) -DDCRYPT_MODULE_DIR=\".libs\" -DDCRYPT_SRC_DIR=\"$(top_srcdir)/src/lib-dcrypt\" test_stream_SOURCES = $(libdcrypt_la_SOURCES) test-stream.c