Skip to content

Commit

Permalink
lib-dcrypt: Added library dependencies to unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sirainen committed Jun 20, 2016
1 parent 285bfe9 commit ff95c64
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/lib-dcrypt/Makefile.am
Expand Up @@ -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

0 comments on commit ff95c64

Please sign in to comment.