blob: 83ba1168ce6207bfa3fa98132080ebb980288f02 [file] [edit]
From 08a6ca5cfb9d4148d5dedabd0660e06fd3081606 Mon Sep 17 00:00:00 2001
From: Bernd Kuhls <bernd@kuhls.net>
Date: Tue, 25 Aug 2026 21:17:48 +0200
Subject: [PATCH] Revert "lib-var-expand-crypt: Link test binary statically"
This reverts commit 1c6b67195d279836d94e141215c626c20af93af6.
Upstream: n/a (buildroot specific)
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
src/lib-var-expand-crypt/Makefile.am | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/lib-var-expand-crypt/Makefile.am b/src/lib-var-expand-crypt/Makefile.am
index aa6a3b9b81..12d424a845 100644
--- a/src/lib-var-expand-crypt/Makefile.am
+++ b/src/lib-var-expand-crypt/Makefile.am
@@ -35,9 +35,8 @@ test_libs = \
test_var_expand_crypt_SOURCES = test-var-expand-crypt.c
test_var_expand_crypt_LDADD = $(test_libs) $(SSL_LIBS) $(LIBDOVECOT_TEST_LIBS)
test_var_expand_crypt_DEPENDENCIES = $(module_LTLIBRARIES)
-test_var_expand_crypt_LDFLAGS = -static
if HAVE_WHOLE_ARCHIVE
-test_var_expand_crypt_LDFLAGS += -export-dynamic -Wl,$(LD_WHOLE_ARCHIVE),../lib/.libs/liblib.a,../lib-json/.libs/libjson.a,../lib-ssl-iostream/.libs/libssl_iostream.a,$(LD_NO_WHOLE_ARCHIVE)
+test_var_expand_crypt_LDFLAGS = -export-dynamic -Wl,$(LD_WHOLE_ARCHIVE),../lib/.libs/liblib.a,../lib-json/.libs/libjson.a,../lib-ssl-iostream/.libs/libssl_iostream.a,$(LD_NO_WHOLE_ARCHIVE)
endif
test_var_expand_crypt_CFLAGS = $(AM_CFLAGS) \
--
2.47.3