mcst-linux-kernel/patches-2024.06.26/dovecot-pigeonhole-0.5.10/0001-fix-make-check-bug1259...

22 lines
716 B
Diff

Link:
Subject: link tests with rpath
Bug: 125981
Tags: common
diff -rupN a/src/lib-sieve/util/Makefile.am b/src/lib-sieve/util/Makefile.am
--- a/src/lib-sieve/util/Makefile.am 2020-08-13 00:28:28.336710795 +0300
+++ b/src/lib-sieve/util/Makefile.am 2020-08-13 00:36:01.307144573 +0300
@@ -38,10 +38,12 @@ test_deps = \
test_edit_mail_SOURCES = test-edit-mail.c
test_edit_mail_LDADD = $(test_libs)
test_edit_mail_DEPENDENCIES = $(test_deps)
+test_edit_mail_LDFLAGS= -rpath $(dovecot_pkglibdir)
test_rfc2822_SOURCES = test-rfc2822.c
test_rfc2822_LDADD = $(test_libs)
test_rfc2822_DEPENDENCIES = $(test_deps)
+test_rfc2822_LDFLAGS= -rpath $(dovecot_pkglibdir)
check: check-am check-test
check-test: all-am