From: Stephan Bosch Date: Sun, 23 Nov 2025 21:56:04 +0000 (+0100) Subject: lib: test-unicode-* - Use absolute source directory for composing UCD directory X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4cbb9129d985b328417aad802c5cffe4cde05f3e;p=thirdparty%2Fdovecot%2Fcore.git lib: test-unicode-* - Use absolute source directory for composing UCD directory Allows calling the unit tests outside the local source directory. --- diff --git a/src/lib/Makefile.am b/src/lib/Makefile.am index 382bbd3b29..52331348bc 100644 --- a/src/lib/Makefile.am +++ b/src/lib/Makefile.am @@ -16,6 +16,7 @@ BUILT_SOURCES = $(srcdir)/unicode-data-tables.c \ UCD_URL = https://dovecot.org/res UCD_DIR = $(srcdir)/ucd +UCD_ABS_DIR = $(abs_srcdir)/ucd UCD_FILES = \ $(UCD_DIR)/CaseFolding.txt \ $(UCD_DIR)/CompositionExclusions.txt \ @@ -421,7 +422,7 @@ test_programs = test-lib test-cpu-limit test_lib_CPPFLAGS = \ -I$(top_srcdir)/src/lib-test \ - -DUCD_DIR=\"$(UCD_DIR)\" + -DUCD_DIR=\"$(UCD_ABS_DIR)\" test_libs = \ ../lib-test/libtest.la \