]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
doveadm: Link test programs against the whole libdovecot
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Wed, 3 Sep 2025 13:57:03 +0000 (16:57 +0300)
committerTimo Sirainen <timo.sirainen@open-xchange.com>
Wed, 3 Sep 2025 13:57:46 +0000 (16:57 +0300)
Needed for the following commit.

src/doveadm/Makefile.am

index 820b5f651cef4e15cac4ee6bad361ec4a1ca71c7..dfdea3ff3a606eb657b1f60c472146a39bf4d64e 100644 (file)
@@ -183,10 +183,8 @@ test_programs = \
        test-doveadm-util
 noinst_PROGRAMS = $(test_programs)
 
-test_libs = \
-       ../lib-test/libtest.la \
-       ../lib/liblib.la
-test_deps = $(noinst_LTLIBRARIES) $(test_libs)
+test_libs = $(LIBDOVECOT)
+test_deps = $(noinst_LTLIBRARIES) $(LIBDOVECOT_DEPS)
 
 test_doveadm_cmd_SOURCES = doveadm-cmd-parse.c test-doveadm-cmd-parse.c
 test_doveadm_cmd_LDADD = $(test_libs) $(MODULE_LIBS)